httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Fredrickson" <>
Subject Trailing slash?
Date Fri, 02 Aug 2002 15:24:01 GMT
I have a new web server. I want to redirect requests for user directories on
the new web server to the old web server, but keep the base URL. I have
succeeded to an extent. The following rules work, but only if the trailing
"/" is added to the directory.
My rule:
RewriteRule   ^/~(.+)$1 [P]

As long as the trailing "/" character is added to the end of any URL
requests, the rule works and proxies them to the correct server as a proxy
so the base URL is kept. How can I get around my "/" issue?

Thank you,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message