FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 07-06-2008, 02:51 PM
Default How to Auto Add forward slash "/" when accessing a link/url through ProxyPass

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/


CentOS mailing list

Thread Tools

All times are GMT. The time now is 04:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org