Skip to content

Instantly share code, notes, and snippets.

@mletterle
Created February 18, 2009 15:54
Show Gist options
  • Save mletterle/66388 to your computer and use it in GitHub Desktop.
Save mletterle/66388 to your computer and use it in GitHub Desktop.
enable mod_proxy
install and enable mod_proxy_html
example Apache.conf reverse proxying */integrity to the integrity web server:
<VirtualHost *>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RedirectMatch ^/integrity$ /integrity/
ProxyRequests Off
ProxyPass /integrity/ http://localhost:8910/
ProxyHTMLURLMap http://localhost:8910 /integrity
<Location /integrity>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /integrity/
ProxyHTMLURLMap /integrity/ /integrity
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment