Wrong Apache Mimetype (?)

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-03-2008
Luca
 
Posts: n/a
Default Wrong Apache Mimetype (?)

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

  #2 (permalink)  
Old 03-03-2008
HansH
 
Posts: n/a
Default Re: Wrong Apache Mimetype (?)

"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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0