]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_info.conf
- typo
[packages/apache.git] / apache-mod_info.conf
index 207e471d95e20c6d6aa1127e678d0f6922c7164d..4dca4805d224afdd37614ad65620524dfef93021 100644 (file)
@@ -1,5 +1,4 @@
-# $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.
@@ -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 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.030671 seconds and 4 git commands to generate.