title: Cross-domain response.redirect with URL rewrite rules and SSL certificate
body: <p>I have a perfectly functioning URL rewriting to remove the file extension. But when I use <code>response.redirect</code>, the URL rewrite doesn't take place. Oddly, this occurs only when the URL is using the full path, not relative. For example:</p>
  
  <pre><code>response.redirect("http://example.com/page")
  </code></pre>
  
  <p>gives me <strong>http://example.com/page.asp</strong></p>
  
  <p>whereas <code>response.redirect("/page")</code> is fine.</p>
  
  <p>URL rewrite code:</p>
  
  <pre><code>&lt;rule name="rewrite asp"&gt;
    &lt;match url="(.*)" /&gt;
    &lt;conditions logicalGrouping="MatchAll"&gt;
      &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
      &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
      &lt;add input="{REQUEST_FILENAME}" negate="true" pattern="(.*).asp" /&gt;
    &lt;/conditions&gt;
    &lt;action type="Rewrite" url="{R:1}.asp" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>I need to use the full path because I'm going from one domain to another. Any ideas?</p>