Updated config files for Trusty (Apache 2.2->2.4)
[sysconfig/apache2.git] / mods-available / info.conf
index 837a6419bc0bd609e04369d772c9c8c28c62dd71..78a0649e31068b03e84f3293b2aeefd5df72c850 100644 (file)
@@ -1,17 +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 ".example.com" to allow
-# access from other hosts.
-#
-<Location /server-info>
-    SetHandler server-info
-    Order deny,allow
-    Deny from all
-    Allow from localhost ip6-localhost
-#    Allow from .example.com
-</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