About IIS force configuration enable IE8 or above browser compatibility to open the system

Source: Internet
Author: User
Tags microsoft iis

For compatibility issues, the IIS7 custom header scheme is adopted. It has been tested and is applicable and feasible. (I am using the second method)

Specify custom HTTP response headers

1. You can use the IIS Web server to define custom headers for your website to specify the text mode for your website. To enable Microsoft IIS to define custom HTTP response headers so that all pages are automatically rendered in EmulateIE7 mode, you can use the following web. config example. (Not tested)

1 <? Xml version = "1.0" encoding = "UTF-8"?> 2 <configuration> 3 <system. webServer> 4 

2. You can also configure IIS 7 on a computer based on Windows Server 2008 to include custom HTTP response headers. The steps are as follows: (tested)

Click Start and administrative tools, and then click Internet Information Services (IIS) manager ".

In the connection pane, expand the server node and then expand the site ".

Click the website for which you want to add custom HTTP response headers.

In the website pane, double-click "HTTP response header" in the "IIS" section ".

Under "operations", click "add ".

In the name box, type "X-UA-Compatible ". In the value box, type IE = EmulateIE7.

Click OK ".

3. To configure IIS 6 and earlier versions to include custom HTTP response headers, follow these steps)

Click start and run, type inetmgr.exe, and click OK ".

Expand the desired server, and then expand "website ".

Right-click the desired website and click "properties ".

Click the HTTP header tab.

Under "custom HTTP header", click "add ".

In the custom header name box, type "X-UA-Compatible ".

In the custom header value box, type "IE = EmulateIE7 ".

Click "OK" twice.

 

If the default text compatibility mode is specified on the Web server, you can overwrite the setting by specifying other text compatibility modes on a specific webpage. The mode specified on the webpage takes precedence over the mode specified by the server.

About IIS force configuration enable IE8 or above browser compatibility to open the system

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.