Upstream config updates (Lucid->Precise)
[sysconfig/apache2.git] / mods-available / proxy.conf
index 46407a1e592e0f4a83eb8c05d427136b1232abf8..882daf0dc8dd327676e71f26c18fafed6a7e7093 100644 (file)
@@ -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>