[Pkg-apache-commits] r1138 - in /trunk/apache2: changelog config-dir/mods-available/info.conf config-dir/mods-available/status.conf

sf at alioth.debian.org sf at alioth.debian.org
Sat Feb 6 18:31:07 UTC 2010


Author: sf
Date: Sat Feb  6 18:31:05 2010
New Revision: 1138

URL: http://svn.debian.org/wsvn/pkg-apache/?sc=1&rev=1138
Log:
Change default config of mod_info and mod_status to use IP addresses
instead of hostnames. Otherwise the hostname is sometimes logged even with
'HostnameLookup Off'. Closes: #568409

Modified:
    trunk/apache2/changelog
    trunk/apache2/config-dir/mods-available/info.conf
    trunk/apache2/config-dir/mods-available/status.conf

Modified: trunk/apache2/changelog
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/changelog?rev=1138&op=diff
==============================================================================
--- trunk/apache2/changelog (original)
+++ trunk/apache2/changelog Sat Feb  6 18:31:05 2010
@@ -7,6 +7,9 @@
   * Add more languages to mime.conf. To limit this to useful entries, we only
     add those for which a translation of the Debian intaller exists. LP: #217964
   * Unset $HOME in /etc/apache2/envvars.
+  * Change default config of mod_info and mod_status to use IP addresses
+    instead of hostnames. Otherwise the hostname is sometimes logged even with
+    'HostnameLookup Off'. Closes: #568409
   * Add a hook to apache2.2-common's postrm script that may come in handy
     when upgrading to 2.4.
   * Make bug script also display php extensions.

Modified: trunk/apache2/config-dir/mods-available/info.conf
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/config-dir/mods-available/info.conf?rev=1138&op=diff
==============================================================================
--- trunk/apache2/config-dir/mods-available/info.conf (original)
+++ trunk/apache2/config-dir/mods-available/info.conf Sat Feb  6 18:31:05 2010
@@ -2,15 +2,14 @@
 #
 # 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.
+# 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 localhost ip6-localhost
-#    Allow from .example.com
+    Allow from 127.0.0.1 ::1
+#    Allow from 192.0.2.0/24
 </Location>
 
 </IfModule>

Modified: trunk/apache2/config-dir/mods-available/status.conf
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/config-dir/mods-available/status.conf?rev=1138&op=diff
==============================================================================
--- trunk/apache2/config-dir/mods-available/status.conf (original)
+++ trunk/apache2/config-dir/mods-available/status.conf Sat Feb  6 18:31:05 2010
@@ -2,15 +2,14 @@
 #
 # Allow server status reports generated by mod_status,
 # with the URL of http://servername/server-status
-# Uncomment and change the ".example.com" to allow
-# access from other hosts.
+# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
 #
 <Location /server-status>
     SetHandler server-status
     Order deny,allow
     Deny from all
-    Allow from localhost ip6-localhost
-#    Allow from .example.com
+    Allow from 127.0.0.1 ::1
+#    Allow from 192.0.2.0/24
 </Location>
 
 </IfModule>




More information about the Pkg-apache-commits mailing list