Gnetoo: Apache mod_status
conf.d
cat /etc/conf.d/apache2 | grep APACHE
# and other features of apache using the APACHE2_OPTS line. Every module should
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D STATUS"
cat /etc/apache2/modules.d/00_mod_status.conf
<IfDefine STATUS>
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called.
ExtendedStatus On
</IfDefine>
# vim: ts=4 filetype=apache
http://localhost/server-status?auto http://localhost/server-status
Login
0 Comments
Oldest