HTTP to HTTPS Redirection RRS feed

  • Question

  • We need to redirect all HTTP traffic to HTTPS to allow for external access to the company SharePoint site.  I would like to use the Rewrite tool for IIS 7.5, but am running into issues.

    Both http and https sites work (AAMs configured for HTTP and HTTPS), but when enabling the redirection rule, we receive a 404 not found error.  The rewrite rule is written as follows:

        <rule name="HTTPS to HTTPS Redirection" enabled="false">
          <match url="(.*)" />
            <add input="{HTTPS}" pattern="^OFF$" />
          <action type="Rewrite" url="https://{HTTP_HOST}/{R:1}" />
    Thank you for any assistance that you can provide!


    Thursday, May 17, 2012 2:49 PM


All replies