httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: RedirectMatch directive
Date Tue, 28 May 2002 15:06:16 GMT
On Tue, 28 May 2002, Roman V Moroz wrote:

> Dear Madams/Sirs!
>
> I tried to use such construction in my vhost section
> RedirectMatch (.*)  http://www.some.com/1.php?a=1&b=2
> but apache redirects my request to http://www.some.com/1.php%3a=1\b=2
>
> how can i redirect to the right location?

RewriteEngine On
RewriteRule .* http://www.some.com/1.php?a=1&b=2

I personally think it is pretty silly that Redirect(Match) does
URL-escaping, but that's the way it is.

Joshua.


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


Mime
View raw message