I need to write a URL rewrite rule for my IIS 7.5 website that captures a value in a specific cookie and then uses that value to create a URL. For example, incoming requests are as follows:
GET http://myserver.com/test.aspx HTTP/1.1 Accept: text/html, application/xhtml+xml, */* Accept-Language: en-US User-Agent: Mozilla/5.0 Host: myserver.com Cookie: foo=bar; bat=bar
I would like to direct them to this (based on the cookie value "foo"):
http:
Revision of documentation and search for examples, I'm at a standstill! Thank you for your help.
Geoffrey mcgrath
source share