12 lines
413 B
XML
12 lines
413 B
XML
<rewrite>
|
|
<rules>
|
|
<rule name="Query String Rewrite">
|
|
<match url="page\.asp$" />
|
|
<conditions>
|
|
<add input="{QUERY_STRING}" pattern="p1=(\d+)" />
|
|
<add input="##{C:1}##_{QUERY_STRING}" pattern="##([^#]+)##_.*p2=(\d+)" />
|
|
</conditions>
|
|
<action type="rewrite" url="newpage.aspx?param1={C:1}&param2={C:2}" appendQueryString="false"/>
|
|
</rule>
|
|
</rules>
|
|
</rewrite> |