【发布时间】:2011-11-12 21:50:28
【问题描述】:
我正在使用 Apache 2.2。我的本地主机打开了我的网页,但没有应用 CSS,也没有加载背景图像。我不知道为什么。使用 Chrome 开发人员工具时,我收到以下警告:
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
我不明白这个问题。是 httpd.conf 文件的问题吗?我试图添加一个 .htaccess 文件,但仍然遇到同样的问题。请帮忙!
【问题讨论】: