Follow the directions below to load the module and enable the desired features.
Add or uncomment this directive:
LoadModule status_module modules/ApacheModuleStatus.dll
Add or uncomment this directive prior to the existing
ClearModuleList
directive:
LoadModule status_module libexec/mod_status.so
Additionally, add or uncomment this directive after the existing
ClearModuleList
directive:
AddModule mod_status.c
If the ClearModuleList
directive is not used, simply
add the LoadModule
directive shown above to the end of
the configuration file.
Add or uncomment this directive:
LoadModule status_module modules/mod_status.so
Add or uncomment this directive:
ExtendedStatus On
If httpd.conf already has this conditional logic, then ExtendedStatus will be set properly as long as the module is loaded:
<IfModule mod_status.c> ExtendedStatus On </IfModule>
Add or uncomment these directives:
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location>
Note: The status display should be protected so that only
administrators can view it. The Allow from 127.0.0.1
directive in the example above allows the server-status report to be
viewed using only the loopback interface on the web server machine.
In other words, the web browser must be running on the same machine as
the web server. Alternate ways to control access include other forms
of Allow
as well as mod_auth
or LDAP.