Re: [us...@httpd] redirect trailing slash problem

2009-01-14 Thread Mike Soultanian
Eric Covener wrote: On Tue, Jan 13, 2009 at 2:55 AM, Mike Soultanian wrote: Does anyone know how to tweak my rewrite such that it will forward correctly, regardless of whether or not the folder has a trailing slash? ProxyPassReverse would fix the redirect that's being sent by mod_dir'

Re: [us...@httpd] redirect trailing slash problem

2009-01-13 Thread Eric Covener
On Tue, Jan 13, 2009 at 2:55 AM, Mike Soultanian wrote: > I have a virtual host that accepts all traffic on port 80 and then forwards > that traffic to another virtual host on port 81: > > RewriteRule /(.*) http://localhost:81/$1 [P,L] > > It works great except when I leave off the backslash. So,

[us...@httpd] redirect trailing slash problem

2009-01-12 Thread Mike Soultanian
I have a virtual host that accepts all traffic on port 80 and then forwards that traffic to another virtual host on port 81: RewriteRule /(.*) http://localhost:81/$1 [P,L] It works great except when I leave off the backslash. So, for example, "http://foobar.com/"; works correctly and so does