Skip to content

Instantly share code, notes, and snippets.

@mmalmeida
Created August 3, 2012 20:10
Show Gist options
  • Select an option

  • Save mmalmeida/3251099 to your computer and use it in GitHub Desktop.

Select an option

Save mmalmeida/3251099 to your computer and use it in GitHub Desktop.
## In the logs:
85.244.99.60 - - [03/Aug/2012:22:19:32 +0200] "GET /xxx HTTP/1.1" 302 199 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0"
85.244.99.60 - - [03/Aug/2012:22:19:32 +0200] "GET /manager/ HTTP/1.1" 404 508 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0"
# Already in proxy.conf, but somehow you need it...
ProxyRequests Off
<Proxy *>
AddDefaultCharset Off
Order deny,allow
Allow from all
</Proxy>
#Proxy routings
ProxyPass /xxx ajp://localhost:8009/manager
ProxyPassReverse /xxx ajp://localhost:8009/manager
ProxyPreserveHost on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment