Skip to content

Commit

Permalink
Adding Opera extension to mimetypes and unsetting X-UA-Compatible for…
Browse files Browse the repository at this point in the history
… opera extensions. Fixes h5bp#827
  • Loading branch information
Divya Manian committed Nov 6, 2011
1 parent 07634cc commit 588e82c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .htaccess
Expand Up @@ -28,7 +28,7 @@
<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=Edge,chrome=1"
# mod_headers can't match by content-type, but we don't want to send this header on *everything*...
<FilesMatch "\.(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|xpi|safariextz|vcf)$" >
<FilesMatch "\.(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" >
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
Expand Down Expand Up @@ -101,6 +101,7 @@ AddType image/webp webp
AddType text/cache-manifest appcache manifest
AddType text/x-component htc
AddType application/x-chrome-extension crx
AddType application/x-opera-extension oex
AddType application/x-xpinstall xpi
AddType application/octet-stream safariextz
AddType text/x-vcard vcf
Expand Down

0 comments on commit 588e82c

Please sign in to comment.