Last active
August 29, 2015 14:14
-
-
Save CTimmerman/cc537c57a64af6c09780 to your computer and use it in GitHub Desktop.
jQuery 2 not working in IE11? It might be your old intranet policy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\.(htm|html|php)$"> | |
<IfModule mod_headers.c> | |
BrowserMatch MSIE ie | |
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie | |
</IfModule> | |
</FilesMatch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="x-ua-compatible" content="IE=edge" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<remove name="PHP_via_FastCGI" /> | |
</handlers> | |
<httpProtocol> | |
<customHeaders> | |
<add name="X-UA-Compatible" value="IE=edge" /> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> | |
<system.web> | |
<authentication mode="Windows" /> | |
<authorization> | |
<deny users="?" /> | |
</authorization> | |
</system.web> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.htaccess for Apache from http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/
web.config for IIS. Gist insists on treating .config files as Text instead of XML.
The HTML is for individual pages in case the folder config approaches are too broad.