]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_info.conf
- typo
[packages/apache.git] / apache-mod_info.conf
index ebb30672476d522b4bc00249ee2811c50a2145ac..4dca4805d224afdd37614ad65620524dfef93021 100644 (file)
@@ -1,18 +1,26 @@
-# $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), mod_authz_host (ACL)
 
 <IfModule mod_info.c>
 #
 # Allow remote server configuration reports, with the URL of
 #  http://servername/server-info (requires that mod_info.c be loaded).
-# Change the ".your-domain.com" to match your domain to enable.
+# Change the ".example.com" to match your domain to enable.
 #
 <Location /server-info>
-    SetHandler server-info
-    Order deny,allow
-    Deny from all
-    Allow from 127.0.0.1
+       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.039907 seconds and 4 git commands to generate.