[CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass

Sun Jul 6 14:51:17 UTC 2008
nate <centos at linuxpowered.net>

ankush grover wrote:

> I have the below lines added in httpd.conf file
>
> RewriteEngine On
> RewriteCond %{REQUEST_URI} /testdiary
> RewriteRule /testdiary(.)$ /testdiary/
> ProxyPass /testdiary  http://testdiary.example.com/
> ProxyPassReverse /testdiary  http://testdiary.example.com/

This is what I do on my systems

RedirectMatch /testdiary$ http://mysite.example.com/testdiary/

nate