微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

网站无法访问css等文件

如何解决网站无法访问css等文件

我最近在使用 Drupal 7 构建的网站中遇到了一个突然错误。css 和其他文件突然无法加载。我收到的错误主要有以下几种:

Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type,and strict MIME checking is enabled.

Uncaught ReferenceError: jQuery is not defined
    at drupal.js?qve657:5
Failed to load resource: the server responded with a status of 403 (Forbidden)

可能是什么原因。它不是文件权限,因为它们都具有网站用户的读取权限。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。