In many enterprises, the site design for security reasons to use the HTTPS protocol, but at the same time the company also opened 80 protocol, many users because the habit of entering URLs do not like to bring HTTPS protocol, resulting in access anomalies.
Step one: Download the HTTP rewrite Module 2.0 from Microsoft's official website (here are 64-bit examples):http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn& Familyid=1b8c7bd8-8824-4408-b8fc-49dc7f951a00; as shown:
Step Two: Install the IIS rewrite module rewrite_x64 on the installation of the Exchange CAS server, restart the IIS service after installation, and then open the IIS console and discover one more component, as follows:
Step three: Double-click URL Rewrite, select Add rule in the right-hand form, and add a blank rule as follows:
Fourth Step: Add the following rule: (The yellow part is the part that needs to be filled in or selected)
Fifth step: Continue filling in the incomplete completed sections as follows:
Sixth step: Click "Apply" on the right side of the empty body.
Seventh Step: Add the Http_host condition as follows:
Finally make sure to complete all the settings, in fact the above file is changed the configuration file of Web. config, about how Exchange redirects a subdirectory is actually very simple, no longer described in detail, you can refer to other articles.
How IIS 7 implements HTTP redirection https