X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=mods-available%2Fproxy.conf;fp=mods-available%2Fproxy.conf;h=882daf0dc8dd327676e71f26c18fafed6a7e7093;hb=13d64a00b526b5b5c3dca9fab2a1e59bad9489d8;hp=46407a1e592e0f4a83eb8c05d427136b1232abf8;hpb=054188200e8677710a0be31e9114b2ab2aa0a966;p=sysconfig%2Fapache2.git diff --git a/mods-available/proxy.conf b/mods-available/proxy.conf index 46407a1..882daf0 100644 --- a/mods-available/proxy.conf +++ b/mods-available/proxy.conf @@ -1,19 +1,26 @@ - #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 +# Order deny,allow +# Deny from all +# #Allow from .example.com +# - # 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