The resource is interpreted as a stylesheet, but passed in with a text type of mime type?
I am working in Apache 2.2. My localhost opened my webpage, but no CSS is being applied and no background images were loaded. I do not know why. Using the Chrome Developer Tool I got the following warnings:
resource interpreted as stylesheet but transferred with mime type text plain
resource interpreted as stylesheet but transferred with mime type text html
resource interpreted as script but transferred with mime type text html
GET http://www.xmweb.com/js/calendar/layout-3d.css 404 (Not Found)
resource interpreted as Image but transferred with mime type text html
I don't understand this problem. Is this a problem in the httpd.conf file? I tried to add a .htaccess file but still I have the same problem. Please, help!
+2
source to share
2 answers
If your browser seems to be unable to load the CSS, you get a 404 (not found) and an HTML page with a 404 message. Try downloading http://www.xmweb.com/js/calendar/layout-3d.css directly from your browser and view the page.
This can help you open your web server's error log to see what is missing.
+1
source to share