/etc/apache2/mods-available/status.conf
【ExtendedStatus Onの追加】
# vi /etc/apache2/mods-available/status.conf <IfModule mod_status.c> # # Allow server status reports generated by mod_status, # with the URL of http://servername/server-status # Uncomment and change the ".example.com" to allow # access from other hosts. # ExtendedStatus On <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost ip6-localhost Allow from 192.168.0.0/24 # Allow from .example.com </Location> </IfModule>
# cd /etc/apache2/mods-enabled/
# ln -s /etc/apache2/mods-available/status.conf .
# ln -s /etc/apache2/mods-available/status.load .
! Apache Restart