This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: multiple query strings
Author
Message |
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 19 April 2011 at 4:01pm

I have a URL like this, http://acme.com/jdoe?CID=dmSSID:561342

and I need to process "jdoe" and the "CID" query strings separately. I can parse "jdoe" with this:

RewriteCond %{HTTP_HOST} ^acme.com$ [NC]
RewriteRule ^(.+)$ http://www.acme2.com/?x1=$1&CID=$2

but I'm not sure how to include the "CID" URL token to my rule. Any thoughts?

I tried this, but it doesn't work:

RewriteCond %{HTTP_HOST} ^acme.com$ [NC]
RewriteCond %{QUERY_STRING} ^CID=(.*)$
RewriteRule ^(.+)$ http://www.acme2.com/?x1=$1&CID=$2


The final URL should look like this:
http://www.acme2.com/?x1=jdoe&CID=dmSSID:561342

Thanks



Edited by balance - 19 April 2011 at 4:11pm
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 20 April 2011 at 4:51pm

Your issue has been forwarded to Premium Support Service according to your order. All the following correspondence will be provided via email

Regards
Andrew
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version