move the server-status handler back to httpd.conf

This commit is contained in:
Antoine Beaupré 2006-04-26 22:32:40 +00:00
parent 5ed64df519
commit e05a16be23
2 changed files with 7 additions and 7 deletions

View File

@ -10,13 +10,6 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
AddHandler cgi-script .cgi AddHandler cgi-script .cgi
</Directory> </Directory>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from %%monitor_ip%%
</Location>
<VirtualHost *:80> <VirtualHost *:80>
# ***ALTERNC_ALIASES*** # ***ALTERNC_ALIASES***
Alias /icons/ /usr/share/apache/icons/ Alias /icons/ /usr/share/apache/icons/

View File

@ -238,6 +238,13 @@ AddDefaultCharset off
</Location> </Location>
</IfModule> </IfModule>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from %%monitor_ip%%
</Location>
DirectoryIndex index.html index.htm index.shtml index.php3 index.php4 index.phtml index.php DirectoryIndex index.html index.htm index.shtml index.php3 index.php4 index.phtml index.php
Include /etc/apache/conf.d/[^.#]* Include /etc/apache/conf.d/[^.#]*