[Pkg-apache-commits] r1180 - in /trunk/apache2: changelog config-dir/mods-available/proxy.conf

sf at alioth.debian.org sf at alioth.debian.org
Mon Apr 19 20:36:19 UTC 2010


Author: sf
Date: Mon Apr 19 20:36:19 2010
New Revision: 1180

URL: http://svn.debian.org/wsvn/pkg-apache/?sc=1&rev=1180
Log:
Comment out the contents of mods-available/proxy.conf, as it just
is a nuisance for use of apache2 as a reverse proxy, which is much
more common than the use as forward proxy. Extend the comments
in the file.

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

Modified: trunk/apache2/changelog
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/changelog?rev=1180&op=diff
==============================================================================
--- trunk/apache2/changelog (original)
+++ trunk/apache2/changelog Mon Apr 19 20:36:19 2010
@@ -3,6 +3,10 @@
   * Move definition of other_vhosts_access.log to new config file
     /etc/apache2/conf.d/other-vhosts-access-log, but disable it
     if it has been disabled by the admin. Closes: #576572. LP: #507616
+  * Comment out the contents of mods-available/proxy.conf, as it just
+    is a nuisance for use of apache2 as a reverse proxy, which is much
+    more common than the use as forward proxy. Extend the comments
+    in the file.
   * Simplify logrotate script. Closes: #576105
   * Remove empty directory /usr/lib/debug/usr/sbin in mpm packages.
     Closes: #576089

Modified: trunk/apache2/config-dir/mods-available/proxy.conf
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/config-dir/mods-available/proxy.conf?rev=1180&op=diff
==============================================================================
--- trunk/apache2/config-dir/mods-available/proxy.conf (original)
+++ trunk/apache2/config-dir/mods-available/proxy.conf Mon Apr 19 20:36:19 2010
@@ -1,19 +1,26 @@
 <IfModule mod_proxy.c>
-        #turning ProxyRequests on and allowing proxying from all may allow
-        #spammers to use your proxy to send email.
 
-        ProxyRequests Off
+# If you want to use apache2 as a forward proxy, uncomment the
+# 'ProxyRequests On' line and the <Proxy *> block below.
+# WARNING: Be careful to restrict access inside the <Proxy *> block.
+# Open proxy servers are dangerous both to your network and to the
+# Internet at large.
+#
+# If you only want to use apache2 as a reverse proxy/gateway in
+# front of some web application server, you DON'T need
+# 'ProxyRequests On'.
 
-        <Proxy *>
-                AddDefaultCharset off
-                Order deny,allow
-                Deny from all
-                #Allow from .example.com
-        </Proxy>
+#ProxyRequests On
+#<Proxy *>
+#        AddDefaultCharset off
+#        Order deny,allow
+#        Deny from all
+#        #Allow from .example.com
+#</Proxy>
 
-        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
-        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
-        # Set to one of: Off | On | Full | Block
+# Enable/disable the handling of HTTP/1.1 "Via:" headers.
+# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
+# Set to one of: Off | On | Full | Block
+#ProxyVia Off
 
-        ProxyVia On
 </IfModule>




More information about the Pkg-apache-commits mailing list