mirror of
https://github.com/phanan/htaccess.git
synced 2018-11-08 13:39:40 +01:00
Merge branch 'lesstif-master'
This commit is contained in:
commit
a68e069f2d
11
README.md
11
README.md
@ -45,6 +45,7 @@ What we are doing here is mostly collecting useful snippets from all over the in
|
|||||||
- [Allow Cross-Domain Fonts](#allow-cross-domain-fonts)
|
- [Allow Cross-Domain Fonts](#allow-cross-domain-fonts)
|
||||||
- [Auto UTF-8 Encode](#auto-utf-8-encode)
|
- [Auto UTF-8 Encode](#auto-utf-8-encode)
|
||||||
- [Switch to Another PHP Version](#switch-to-another-php-version)
|
- [Switch to Another PHP Version](#switch-to-another-php-version)
|
||||||
|
- [Disable Internet Explorer Compatibility View](#disable-internet-explorer-compatibility-view)
|
||||||
|
|
||||||
## Rewrite and Redirection
|
## Rewrite and Redirection
|
||||||
Note: It is assumed that you have `mod_rewrite` installed and enabled.
|
Note: It is assumed that you have `mod_rewrite` installed and enabled.
|
||||||
@ -436,3 +437,13 @@ AddHandler application/x-httpd-php55 .php
|
|||||||
# Alternatively, you can use AddType
|
# Alternatively, you can use AddType
|
||||||
AddType application/x-httpd-php55 .php
|
AddType application/x-httpd-php55 .php
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Disable Internet Explorer Compatibility View
|
||||||
|
Compatibility View in IE may affect how some websites are displayed. The following snippet should force IE to use the Edge Rendering Engine and disable the Compatibility View.
|
||||||
|
|
||||||
|
``` apacheconf
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
BrowserMatch MSIE is-msie
|
||||||
|
Header set X-UA-Compatible IE=edge env=is-msie
|
||||||
|
</IfModule>
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user