[TYPO3-UG Freiburg] IE Kompatibilitätsansicht per htaccess verhindern
Ben Robinson
robinson2.ben at gmail.com
Wed Nov 19 12:15:17 CET 2014
Hallo zusammen,
wie gestern besprochen hier das .htaccess Snippet zum Unterdrücken der Kompatibilitätsansicht:
# Force IE to render pages in the highest available mode in the various cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf
<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=edge"
# `mod_headers` can't match based on the content-type, however, we only want to send this header for HTML pages and not for the other resources
<FilesMatch "\.(appcache|crx|css|cur|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|opus|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
Gruß
Ben
More information about the TYPO3-UG-Freiburg
mailing list