You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/03/03 17:41:11 UTC

DO NOT REPLY [Bug 17606] New: - css gets mime-type of text/html

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17606>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17606

css gets mime-type of text/html

           Summary: css gets mime-type of text/html
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Macintosh
               URL: testing on localhost at present
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_mime
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mozilla@mathiesen.info


I'm updating a website to use the look-back feature with php, ForcType etc as
described on :
http://sitepoint.com/article/485
http://sitepoint.com/article/485/3

Apache servers the correct/wanted files

My URLs are of the form http://localhost/subject/index/999/12
Now, http://localhost/subject/index/999/ is a folder without any index-file, but
containg a local.css

In the html-head for http://localhost/subject/index , I've got
<link rel="stylesheet" type="text/css" href="local.css">
The head-section is included through the php include directive

When Apache backs up through the URL, it finds
http://www.domain.com/subject/index/999/local.css and serves this file, which is
what I want, but Mozilla reports this :
Error: The stylesheet http://localhost/subject/index/999/lokalt.css was not
loaded because its MIME type, "text/html", is not "text/css". :-(

Neither IE nor Safari are loading the stylesheet either :-(

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org