How to reverse proxy with or without trailing slash
Posted
by DM
on Server Fault
See other posts from Server Fault
or by DM
Published on 2010-04-20T19:15:06Z
Indexed on
2010/04/20
19:23 UTC
Read the original article
Hit count: 239
apache2.2
|reverse-proxy
I have a apache web server that needs to reverse proxy a site. So example.com/test/ or example.com/test pull from the same other webserver. I have setup a reverse proxy for the one without the trailing slash like this:
ProxyPass /test http://othersite.com/test
ProxyPassReverse /testhttp://othersite.com/test
But it doesn't work with a trailing slash.
Any Ideas? I have tried redirecting from /test/ to /test with no luck.
Thanks.
© Server Fault or respective owner