Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] Redirect a old dynamic URL to a new dynamic URL

Nick Kew

2008-06-19

Replies: Find Java Web Hosting

Author LoginPost Reply
On Thu, 19 Jun 2008 15:01:18 +0100
Ian Munday <ian.munday@(protected):

> I'm using the .htaccess file

Ouch! That makes for slow and complex.

> However, using the old URLs with parameters does not work.

Indeed, that's the point where you need RewriteRule rather than
Redirect[1]. If you have access to httpd.conf, you should also
look at RewriteMap.

[1] We get far more of the opposite: complex Rewrite setups
where a simple Redirect or Alias would work.

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.