Click to See Complete Forum and Search --> : My apache web server ignores css files
lindamoran
11-16-2004, 04:47 AM
I have three web sites. Every time I set up a new one, I have to tell my web host to add a mime type of text/css on their apache server. Otherwise, Netscape, which is finicky, ignores my css files. IE, on the other hand, overlooks the transgression of text/plain, and renders my css files correctly. I would like to know from you experts why web hosts are still not up on css files. Is css that new? Or is my web host behind the times? (I use wyenet.com) Or perhaps netscape is the only unforgiving browser?
Thanks! Linda
www.mikemoran.com (getting this one fixed now)
www.lindamoran.net (fixed)
www.betterwaypress.com (fixed)
vinoth
11-16-2004, 06:02 AM
your netscape version is old, or as some problems.
CSS is not an SSI like php or asp.
so prob there is no need to curse u r webhost , it is all because of Netscape.
toicontien
11-16-2004, 01:42 PM
It's not that Netscape is finicky, Netscape is actually the smarter of the two. All browsers except for Internet Explorer pay close attention to the mime-type of a file. This is mainly to protect your computer from dangerous file types that could contain viruses sent with an incorrect mime-type. Internet Explorer, being a true blue Windows application, only cares about the file extension. It will load the file into memory, even if the file is actually an executable file with a .css extension. It might throw out an error if the file isn't what it expected, but often that's all it takes for a virus to gain a foothold in your machine.
So, browsers paying close attention to mime types is a security feature, not them being finicky.
ray326
11-17-2004, 01:30 AM
Originally posted by vinoth
your netscape version is old, or as some problems.
CSS is not an SSI like php or asp.
so prob there is no need to curse u r webhost , it is all because of Netscape. Learn HTTP and call us in the morning. It's a server config problem, not a browser problem.