You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Scot Hacker <sh...@birdhouse.org> on 2004/11/11 00:18:16 UTC
[users@httpd] Serving inconsistent MIME types
Hi -
I have the usual MIME type for CSS defined in conf/apache-mime.types as
text/css css
but some browsers (notably FireFox 1) are failing to load the stylesheet,
complaining that it has a MIME type of text/plain (yes, the MIME
declarations are also correct in the HTML).
Using http://web-sniffer.net/ and pointing it to
http://battellemedia.com/styles-site.css , I see that the MIME type of the
CSS file is reported as text/plain on one request, then as text/css on
another, as if apache is changing the MIME type at random.
I then added an explicit AddType to commonhttpd.conf:
AddType text/css .css
and restarted apache. The MIME type is still reported inconsistently. The
problem is the same for the main server and for vhosts. I'm baffled.
Suggestions?
Using:
Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6.7.100mdk)
mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4 Server at battellemedia.com Port 80
Thanks,
Scot
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org