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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux