JUST IGNORE THIS ...
My XLMHttpRequest (XHR) stopped working recently. The problem is the server's HTTP response header is sending content-type application/x-javascript ... most of the time. IE and Firefox both refuse to send XHR with application/x-javascript. This is the second time I've have had problems with content-type (not just Dathorn either), I have little doubt cPanel updates are the culprit. Anyway it's easily fixed, just add this to your .htaccess file:
Hope this stops someone from going bald trying figure out what's the problem is ... because there's no error messages.
My XLMHttpRequest (XHR) stopped working recently. The problem is the server's HTTP response header is sending content-type application/x-javascript ... most of the time. IE and Firefox both refuse to send XHR with application/x-javascript. This is the second time I've have had problems with content-type (not just Dathorn either), I have little doubt cPanel updates are the culprit. Anyway it's easily fixed, just add this to your .htaccess file:
Code:
<FilesMatch "\.js$"> ForceType text/javascript </FilesMatch>
Comment