This is a discussion on Wrong Apache Mimetype (?) within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, i've a problem with Firefox ; While i see my whole site perfectly with Internet Explorer, i get errors ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, i've a problem with Firefox ;
While i see my whole site perfectly with Internet Explorer, i get errors when using Firefox ; in particular, Css is not loading. It works fine with the index and root directories. But, when i load pages from deep subdirectories, like http://www.mysite.com/1/2/3/4/index.php the css is not being loaded, and the Firefox console gives me this error : Error: Stylesheet not loaded - MIME TYPE "text/html" does not correspond to "text/css". I though was a problem of html/php , but people told me it concerns Apache MimeType. Any idea ? thanks (sorry for my rusty english) Luca |
|
|||
|
"Luca" <luca@softaira.comma> schreef in bericht
news:47cc063c$0$4794$4fafbaef@reader4.news.tin.it. .. > Hi, i've a problem with Firefox ; > While i see my whole site perfectly with Internet Explorer, i get errors > when using Firefox ; in particular, Css is not loading. > It works fine with the index and root directories. > But, when i load pages from deep subdirectories, like > http://www.mysite.com/1/2/3/4/index.php > the css is not being loaded, and the Firefox console gives me this error : > Error: Stylesheet not loaded - MIME TYPE "text/html" does not correspond > to "text/css". > > I though was a problem of html/php , but people told me it concerns Apache > MimeType. Are the working stylesheets static files and the failing ones generated -or just passed through- a script? Then Apache is setting the proper headers when sending the file, but the script does not. IE -which version- might have ignored the mime-type flaw in your advantage. HansH |