[TYPO3-UG Freiburg] IE Kompatibilitätsansicht per htaccess verhindern

Heiko Hänsge mailinglisten at wild-wild-web.de
Wed Nov 19 15:56:09 CET 2014


Danke dir, Ben!

Viele Grüße
Heiko


Ben Robinson schrieb am 19.11.2014 um 12:15:
> 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
>
>
>
> _______________________________________________
> TYPO3-UG-Freiburg mailing list
> TYPO3-UG-Freiburg at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-freiburg



More information about the TYPO3-UG-Freiburg mailing list