httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hermann Huebler" <>
Subject Re: Trailing slash?
Date Fri, 02 Aug 2002 15:30:44 GMT
Hello Christian!
can you try the following rule:

RewriteRule   ^/~(.*)$$1 [P]

Does this change anything ?

Mit freundlichen Grüßen / With kind regards

Hermann Huebler

                      Fredrickson"             To:       "Apache" <>
                      <fredrick@eng.uta        cc:                                    
            >                   Subject:  Trailing slash?              
                      08/02/2002 05:24                                                   
                      Please respond to                                                  

I have a new web server. I want to redirect requests for user directories
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:

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

View raw message