Update .htaccess to the latest html5 boilerplate.

This commit is contained in:
XhmikosR 2013-06-26 18:50:51 +03:00 committed by PKEuS
parent 850cfe2be2
commit 99ad6f3735
1 changed files with 1 additions and 2 deletions

View File

@ -86,10 +86,9 @@ Options -MultiViews
# Force IE to render pages in the highest available mode in the various # 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. # cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf.
# Use, if installed, Google Chrome Frame.
<IfModule mod_headers.c> <IfModule mod_headers.c>
Header set X-UA-Compatible "IE=edge,chrome=1" Header set X-UA-Compatible "IE=edge"
# `mod_headers` can't match based on the content-type, however, we only # `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 # want to send this header for HTML pages and not for the other resources
<FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">