Skip to content

Instantly share code, notes, and snippets.

@jgm
Created March 25, 2009 15:30
Show Gist options
  • Save jgm/85523 to your computer and use it in GitHub Desktop.
Save jgm/85523 to your computer and use it in GitHub Desktop.
# These commands will proxy /xyz to port 9094
ProxyPreserveHost On
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RewriteRule ^/xyz(.*)$ http://127.0.0.1:9094$1 [P,L]
ProxyPassReverse /xyz http://127.0.0.1:9094
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment