J'ai ce site "localhost". Je veux que toutes les pages aient https sauf "localhost/order.aspx? R = 15". problème ici est-il rediriger toutes les pages à HTTPS, y compris "localhost/order.aspx? r = 15". J'ai aussi essayé le modèle comme "^/localhost/order.aspx $"HTTPS annule ne fonctionne pas
<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>