Add a private directory for the "Dehnert clan"
[sysconfig/apache2.git] / mods-available / proxy.conf
index 46407a1e592e0f4a83eb8c05d427136b1232abf8..cf4a9fbd4a477278dc215147d09a3e50ddce40f6 100644 (file)
@@ -1,19 +1,27 @@
 <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
+       #   Require all denied
+       #   #Require local
+       #</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>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet