X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=mods-available%2Fproxy.conf;h=cf4a9fbd4a477278dc215147d09a3e50ddce40f6;hb=99163268c395189fd10155b99dbbab31c59e730f;hp=46407a1e592e0f4a83eb8c05d427136b1232abf8;hpb=c1c14e8db7d9ac7055affb2cdab504ec8ed5687f;p=sysconfig%2Fapache2.git diff --git a/mods-available/proxy.conf b/mods-available/proxy.conf index 46407a1..cf4a9fb 100644 --- a/mods-available/proxy.conf +++ b/mods-available/proxy.conf @@ -1,19 +1,27 @@ - #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 block below. + # WARNING: Be careful to restrict access inside the 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'. - - AddDefaultCharset off - Order deny,allow - Deny from all - #Allow from .example.com - + #ProxyRequests On + # + # AddDefaultCharset off + # Require all denied + # #Require local + # - # 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 + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet