Updated config files for Trusty (Apache 2.2->2.4)
[sysconfig/apache2.git] / mods-available / info.conf
index 6c14e63e809fa7b7c48dc6929dfd35a07478d4c6..78a0649e31068b03e84f3293b2aeefd5df72c850 100644 (file)
@@ -1,16 +1,15 @@
 <IfModule mod_info.c>
-#
-# Allow remote server configuration reports, with the URL of
-#  http://servername/server-info (requires that mod_info.c be loaded).
-# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
-#
-<Location /server-info>
-    SetHandler server-info
-    Order deny,allow
-    Deny from all
-    Allow from 127.0.0.1 ::1
-#    Allow from 192.0.2.0/24
-</Location>
+
+       # Allow remote server configuration reports, with the URL of
+       #  http://servername/server-info (requires that mod_info.c be loaded).
+       # Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
+       #
+       <Location /server-info>
+               SetHandler server-info
+               Require local
+               #Require ip 192.0.2.0/24
+       </Location>
 
 </IfModule>
 
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet