dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: My apache web server ignores css files

  1. #1
    Join Date
    Mar 2004
    Location
    North Jersey
    Posts
    80

    My apache web server ignores css files

    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)

  2. #2
    Join Date
    Feb 2003
    Location
    Chennai
    Posts
    145
    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.

  3. #3
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,774
    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.

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles