httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Fredrickson" <fredr...@eng.utah.edu>
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   ^/~(.+)  http://oldserver.com/~$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,

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message