httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Burden" <...@burden.ca>
Subject Re: [users@httpd] Redirect Question
Date Fri, 09 Jul 2004 14:03:38 GMT
Perhaps try:
RedirectMatch ^/foo.*$ http://server.domain.com/moo

----- Original Message ----- 
From: "Porter, Mark" <Mark.Porter@LibertyMutual.com>
To: <users@httpd.apache.org>
Sent: Friday, July 09, 2004 9:57 AM
Subject: [users@httpd] Redirect Question


Redirect /foo http://server.domain.com/moo

If a user goes to /foo/bar, they are redirected to
http://server/domain.com/moo/bar.

What's the best way to keep the 'rest of the path' from being appended? In
other words, I want a user who goes to /foo/<anything> to go to
http://server.domain.com/bar .


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message