Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod_rewrite question

Status
Not open for further replies.

youradds

Programmer
Jun 27, 2001
817
GB
Hi guys,

I'm trying to make a rewrite rile for:


..so it sends to:


The rule I have at the moment is:

Code:
RewriteRule ^archives/cancun.cgi [URL unfurl="true"]http://archives.cancunandrivieramaya.com/archives/cancun.cgi?%{QUERY_STRING}[/URL] [R=301,L]

However, the ; gets converted into %3b in the QUERY_STRING ... how can I stop that being encoded??

TIA!

Andy
 
Ah, typical - as soon as I posted I managed to find the answer (sods law!)

For anyone interested, it was "ne" I needed (not escape), so it looks like:

[ne,r=301,l]

..and this works fine :)

Cheers

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top