Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Rewrite http to https (Multiple farm)

$
0
0

Windows 2012 R2 with ARR 3

I have multiple farms configured with rewrite rules (Exchange, Lync, and Sharepoint). Now I would like to know if it possible to create a single rule that will redirect HTTP to HTTPS whatever the farm that is targeted. 

I've tried many different things but none is working. Here's the rule:

<rule name="ARR_HTTP_to_HTTPS" patternSyntax="Wildcard" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
</rule>

Thanks


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>