mirror of
https://github.com/phanan/htaccess.git
synced 2018-11-08 13:39:40 +01:00
force disable ie compatibility view.
This commit is contained in:
parent
c1d5886fae
commit
4aa215a35b
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -44,6 +44,7 @@ What I'm doing here is mostly collecting useful snippets from all over the inter
|
|||
- [Allow Cross-Domain Fonts](#allow-cross-domain-fonts)
|
||||
- [Auto UTF-8 Encode](#auto-utf-8-encode)
|
||||
- [Switch to Another PHP Version](#switch-to-another-php-version)
|
||||
- [Force disable Internet Explorer compatibility view](#force-disable-ie-compatibility-view)
|
||||
|
||||
## Rewrite and Redirection
|
||||
Note: It is assumed that you have `mod_rewrite` installed and enabled.
|
||||
|
@ -425,3 +426,13 @@ AddHandler application/x-httpd-php55 .php
|
|||
# Alternatively, you can use AddType
|
||||
AddType application/x-httpd-php55 .php
|
||||
```
|
||||
|
||||
### Force disable ie compatibility view
|
||||
If clients browser is Internet Explorer, Force disable IE compatibility view(using edge rendering engine)
|
||||
|
||||
``` apacheconf
|
||||
# Check clients browser
|
||||
BrowserMatch MSIE is-msie
|
||||
Header set X-UA-Compatible IE=edge env=is-msie
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue