<rules> <rule name="Redirect to HTTPS" stopprocessing="true"> <match url="(.*)" /> <conditions> <add input="{URL}" pattern="^.CheckOut\.aspx$" ignorecase="true" /> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirecttype="Permanent" /> </rule> </rules>
<add input="{URL}" pattern="(CheckOut|ConfirmOrder)\.aspx$" ignorecase="true" />his will match both cases (see #1).
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)