I'm working on a website, implemented as shtml, and when I try to load the home page (http://simplyclassicremodeling.com) from IE8, it says it can't open the file because it transferred as Content-Type "text.html". The page loads fine from Chrome, and loads (with some CSS issues that are not relevant here) in Firefox.
Options Includes Indexes FollowSymLinks ExecCGI AddHandler cgi-script .cgi .pl AddType text/html .shtml AddHandler server-parsed .shtml
and further down:
The HTTP headers, from a Telnet session, are:
GET http://simplyclassicremodeling.com/ HTTP/1.0 HTTP/1.1 200 OK Date: Fri, 27 Jan 2012 21:57:54 GMT Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.9-dev DAV/2 PHP/5.2.6 Accept-Ranges: bytes Cache-Control: max-age=2592000, public Expires: Sun, 26 Feb 2012 21:57:54 GMT X-UA-Compatible: IE=Edge,chrome=1 Connection: close Content-Type: text.html
Are the "AddType" and "AddOutputFilter" transposed? Based on this information, would you know why IE8 would think .shtml files are being sent as Content-Type: text.html? Is there a way to globally ask Apache, "If you're going to transfer as 'text.html', use 'text/html' instead?