title: Umbraco https rewrite rule causes an infinite loop
body: <p>I have the following rewrite rule that works perfectly fine on a regular asp.net project, running on IIS7. </p>
  
  <pre><code>&lt;rule name="HTTP to HTTPS redirect" stopProcessing="true"&gt;
    &lt;match url="(.*)" /&gt;
      &lt;conditions&gt;
          &lt;add input="{HTTPS}" pattern="off" ignoreCase="true" /&gt;
      &lt;/conditions&gt;
    &lt;action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>So one of our pages when visited at <strong>http</strong><code>://{domain}/aboutus</code> will redirect to <strong>https</strong><code>://{domain}/aboutus</code>. Now putting the same rewrite rule in an Umbraco site causes an infinite loop. We don't have any other rewrite rule for our Umbraco site. That leads me to think that Umbraco is somewhat hijacking the routing from http to https and causes the infinite loop. What are we missing?</p>