【问题标题】:Getting 403 error for css, js files and images on public server in joomlajoomla公共服务器上的css、js文件和图像出现403错误
【发布时间】:2015-06-23 03:17:35
【问题描述】:

我已经为 joomla 制作了一个自定义主题,它在 localhost 上一切正常,但是当我把它放在公共服务器上时,我得到 css、js 文件和图像的 403 错误。我检查了他们似乎没问题的权限,因为文件夹有 755 和文件有 644 权限。不知道怎么回事,我的.htaccess文件是这样的:

AddOutputFilterByType DEFLATE text/plain

AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml

AddOutputFilterByType DEFLATE application/xml

AddOutputFilterByType DEFLATE application/xhtml+xml

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript
Action application/x-hg-php53 /cgi-sys/php53
AddHandler application/x-hg-php53 .php

【问题讨论】:

    标签: joomla http-status-code-403


    【解决方案1】:

    错误 403 是:403 Forbidden Status

    这意味着你没有读取资源的权限。

    所以这可能意味着您没有权限或所有者不正确。

    如果您已经检查了权限,则可能是所有者。

    您可以在这里找到更多信息:Apache Giving 403 Forbidden Errors

    【讨论】:

      猜你喜欢
      • 2023-03-09
      • 2017-02-11
      • 2019-11-05
      • 1970-01-01
      • 1970-01-01
      • 2011-08-27
      • 1970-01-01
      • 2012-03-12
      • 1970-01-01
      相关资源
      最近更新 更多