Skip to content

Gnetoo: Apache mod_status

cpx November 4, 2013 1 min read HTTP/80 Network Services

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

 

0 0 votes
Article Rating
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x