]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache-mod_info.conf
- updated to 2.4.59
[packages/apache.git] / apache-mod_info.conf
index cdce091d0376f93326eabf1d1190c747367e2b07..4dca4805d224afdd37614ad65620524dfef93021 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: apache-mod_info.conf,v 1.9 2005/12/21 13:27:28 glen Exp $
 LoadModule info_module         modules/mod_info.so
 
 # Get information about the requests being processed by the server
@@ -14,9 +13,14 @@ LoadModule info_module               modules/mod_info.so
 #
 <Location /server-info>
        SetHandler server-info
-       Order deny,allow
-       Deny from all
-       Allow from 127.0.0.1
+       # Require host .example.com
+       # Require ip 127
+       Require local
+       <IfModule mod_access_compat.c>
+               Order deny,allow
+               Deny from all
+               Allow from 127.0.0.1
+       </IfModule>
 </Location>
 
 </IfModule>