IIS URL Rewrite Module : Redirect Based On QueryString?

See if this works a bit better: rule name="Signup Redirect 1" stopProcessing="true.

Thanks it worked! – Martijn B Feb 14 '10 at 11:41.

A more robust method of using a value to select a destination is to use Rewrite Maps. The map is essentially a lookup table. This doesn't require a new rule (and an additional evaluation of the URL against a pattern on every request) for every new path.

Definitions: {C:1} is a backreference to the first condition match: the query string value. {Signups:{C:1}} is an instruction to look up {C:1} in the Signups map. {C:2} is a backreference to the second condition match: the value from the Signups map.

I Have some problems with redirecting to another URL based on the query string parameters. Now when they enter www.domain.com/signup. The above rules don't work.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions