[CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
Filipe Brandenburger
filbranden at gmail.comSun Jul 6 14:48:18 UTC 2008
- Previous message: [CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
- Next message: [CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, It's been long since I don't write Proxy rules, but IIRC you have to match /s on the left side and on the right side. On Sun, Jul 6, 2008 at 6:24 AM, ankush grover <ankushcentos at gmail.com> wrote: > ProxyPass /testdiary http://testdiary.example.com/ > ProxyPassReverse /testdiary http://testdiary.example.com/ Maybe try: ProxyPass /testdiary http://testdiary.example.com ProxyPassReverse /testdiary http://testdiary.example.com Or: ProxyPass /testdiary/ http://testdiary.example.com/ ProxyPassReverse /testdiary/ http://testdiary.example.com/ I guess the second one is the one you want, but it won't do the Redirect if you access /testdiary without the ending slash. You don't need mod_rewrite for that one, a simple RedirectMatch should be enough (I'm not 100% sure about the syntax though): RedirectMatch /testdiary$ /testdiary/ Please let us know how that goes for you. HTH, Filipe
- Previous message: [CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
- Next message: [CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list