Hi,

I need to translate a URL with a POST query string into a URL like this:

http://mysite.com/pages?id=1234
should become
http://mysite.com/pages/1234

I currently use mod_rewrite to turn the initial URL into

http://mysite.com/redirect.pl?id=1234

and redirect.pl redirects to

http://mysite.com/pages/1234

Since mod_rewrite cannot work on query strings itself, I cannot use it to make 
the transition smoother - but do I really need redirect.pl?

Thanks,

Jan
-- 
A common mistake that people make when trying to design something completely 
foolproof is to underestimate the ingenuity of complete fools.

--
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