On Mon, 7 Mar 2005, Jan Eden wrote:

> But I need some rule to do this:
> 
> http://mysite.com/pages?id=1234 -> http://mysite.com/pages/1234
> 
> And since mod_rewrite does not parse the query string, I have a 
> problem here.

So use redirect instead of rewrite:

    RedirectMatch /pages?id=(.*) http://mysite.com/pages/$1
 
Won't that work?

 

-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to