How IIS 7 implements HTTP redirection https

Source: Internet
Author: User

In many enterprises, the web design for security considerations using the HTTPS protocol, but at the same time the company also opened the 80 protocol, many users because of the habit of entering the Web site does not like to take the HTTPS protocol, resulting in access to the exception. Recently a customer also asked me to help solve this problem, the client's mail server Exchange 2010 with HTTPS, client deployment has Outlook Anywhere, customers now require users to access http://mail.abc.com can automatically jump to HTTPS ://mail.abc.com/owa. The specific actions are as follows:

Step one: Download HTTP rewrite module 2.0 from Microsoft's official website (here in 64-bit example):http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn& Familyid=1b8c7bd8-8824-4408-b8fc-49dc7f951a00, as shown in the following illustration:

Step Two: Install the IIS rewrite module rewrite_x64 on the install 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 form, and add a blank rule as follows:

Step Fourth: Add the following rules, as shown in the figure: (The yellow part is the part that needs to be filled in or selected)

Fifth step: Continue to fill in the incomplete completed parts, as follows:

Sixth step: Click on the right empty body above the "application".

Step Seventh: Add the Http_host condition as follows:

Finally finalize all settings, in fact, the above file is changed Web.config configuration file content, about Exchange how to redirect a subdirectory is actually very simple, and this no longer detailed description, you can refer to other articles.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.