Hi, I'm trying to figure out how rewrite an incoming query string such as:

http://www.example.com/?domain=companyx.com&sdn=&sid=123456789&sid_guid=d8bfbc1a-c790-4cf8-beec-ffbbf72d9476&k=mystring&strid=1e961&1e961&t=%20?

becomes:

http://shop.companyx.com/shop.aspx?sid=123456789&sid_guid=d8bfbc1a-c790-4cf8-beec-ffbbf72d9476&strid=1e961&shopurl=search.aspx

I can see how to extract each of the query params with urlp(parmname) but I 
don't see any obvious way of reassembling the query string from the extracted 
variables.
Is this practical in HAProxy (any version) or should I look at using some other 
tool for this?

Thanks.


Reply via email to