Ich habe diese Seite "localhost". Ich möchte, dass alle Seiten https haben außer "localhost/order.aspx? R = 15". Problem hier ist es alle Seiten zu HTTPS einschließlich "localhost/order.aspx? R = 15" umleiten. Ich habe auch versucht, das Muster wie "^/localhost/order.aspx $"HTTPS Negate funktioniert nicht
<rule name="Force HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
<add input="{REQUEST_URI}" pattern="(order.*)" ignoreCase="true" negate="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
</rule>