Skip to content

Instantly share code, notes, and snippets.

@qknight
Created March 9, 2013 23:22
Show Gist options
  • Save qknight/5126239 to your computer and use it in GitHub Desktop.
Save qknight/5126239 to your computer and use it in GitHub Desktop.
/etc/apache2/mods-enabled/proxy.conf
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from localhost
</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
ProxyVia On
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment