How to resolve 403 Forbidden error when accessing Apache Server-status Page?
If you are receiving a 403 Forbidden error when trying to access the Apache server-status page, it's likely due to missing or incorrect configurations in your Apache server settings. The server-status page provides valuable information for monitoring and troubleshooting, but by default, Apache restricts access to it for security reasons.
Follow the steps below to resolve the 403 Forbidden error and gain access to the server-status page.
Step 1: Load Status Module
- Enable the mod_status module in your Apache configuration file (httpd.conf or apache2.conf).
- For detailed instructions on enabling Status module, refer to the full guide here.
Step 2: Change access permission for server-status
This error typically means that the client doesn't have permission to access the requested resource on the server. In the Apache configuration (httpd.conf or apache2.conf) file, ensure Applications Manager server Hostname/IP address is allowed to access the Server-Status URL
| |
<Location /server-status>
SetHandler server-status
Order allow,deny
Deny from all
Allow from appmanager.host.com
</Location>
| <Location /server-status>
SetHandler server-status
Require all denied
Require host appmanager.host.com
</Location> |

Note: After making the necessary changes, restart Apache to apply the new configurations.
New to ADSelfService Plus?