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

Wed Jul 9 16:58:51 UTC 2008
ankush grover <ankushcentos at gmail.com>

On Sun, Jul 6, 2008 at 8:21 PM, nate <centos at linuxpowered.net> wrote:
> 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
>
Hi

Using RedirectMatch /testdiary$ /testdiary/ fixed the problem

Thanks everyone.

Regards

Ankush