]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_info.conf
- up to 2.4.27; fixes few compatibility issues
[packages/apache.git] / apache-mod_info.conf
index ba53427a42f0c287f4215852bf8c7523b54e0bfb..4dca4805d224afdd37614ad65620524dfef93021 100644 (file)
@@ -1,10 +1,9 @@
-# $Id$
-LoadModule info_module          modules/mod_info.so
+LoadModule info_module         modules/mod_info.so
 
 # Get information about the requests being processed by the server
 # and the configuration of the server.
 #
-# Required modules: mod_info (for the server-info handler)
+# Required modules: mod_info (for the server-info handler), mod_authz_host (ACL)
 
 <IfModule mod_info.c>
 #
@@ -13,11 +12,15 @@ LoadModule info_module          modules/mod_info.so
 # Change the ".example.com" to match your domain to enable.
 #
 <Location /server-info>
-    SetHandler server-info
-    Order deny,allow
-    Deny from all
-    Allow from .example.com
+       SetHandler server-info
+       # 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>
-# vim: filetype=apache ts=4 sw=4 et
This page took 0.030678 seconds and 4 git commands to generate.