move the server-status handler back to httpd.conf
This commit is contained in:
parent
5ed64df519
commit
e05a16be23
|
@ -10,13 +10,6 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
|
|||
AddHandler cgi-script .cgi
|
||||
</Directory>
|
||||
|
||||
<Location /server-status>
|
||||
SetHandler server-status
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from %%monitor_ip%%
|
||||
</Location>
|
||||
|
||||
<VirtualHost *:80>
|
||||
# ***ALTERNC_ALIASES***
|
||||
Alias /icons/ /usr/share/apache/icons/
|
||||
|
|
|
@ -238,6 +238,13 @@ AddDefaultCharset off
|
|||
</Location>
|
||||
</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
|
||||
|
||||
Include /etc/apache/conf.d/[^.#]*
|
||||
|
|
Loading…
Reference in New Issue