Looping Through GET Variables with the Url Rewrite ModuleRSS

1 reply

Last post Sep 02, 2008 05:05 PM by ruslany

  • Looping Through GET Variables with the Url Rewrite Module

    Sep 02, 2008 04:19 PM|voidstate|LINK

    I want to rewrite urls so that I can pass addresses like:

     mypage/get1/value1/get2/value2/get3/value3.htm

     and have them translated into:

     mypage.htm?get1=value1&get2=value2&get3=value3

    but I can't figure out how to do a loop from the online posts about the IIS7 Url Rewrite Module. I want to be able to handle any number of variables, so don't want to hard code a specific number of GET variables.

     Can anyone help?

    URL REWRITE

  • Re: Looping Through GET Variables with the Url Rewrite Module

    Sep 02, 2008 05:05 PM|ruslany|LINK

    Unfortunately, current release of URL rewrite module does not support loops in rules evaluation.  So, I guess, hardcoding the specific number is the only way at this point.

    Rules Loops