【问题标题】:403 Permission Denied403 权限被拒绝
【发布时间】:2017-07-30 14:44:29
【问题描述】:

1) 我们有一些代码可以在我们的本地 Web 服务器上正常运行,如下所示: http://localhost/project1/start.htm

2) 这段代码都在文件夹 project1 中。我们已通过 Filezilla 将整个文件夹移至域的根目录,因此我们现在拥有:www.mydomain.com/project1

3) 文件结构如下: project1(主文件夹)--> start.htm project1(主文件夹)--> Player1(子文件夹)--> class.htm

4) 当我输入网址时:http://www.mydomain.com/project1/start.htm

It works fine and brings up the hyperlink "start the course"

5) 当我点击“开始课程”时,我得到:

403 权限被拒绝 您没有此请求的权限 /project1/Player1/class.htm

我在某处读到我可能需要授予 .htaccess 文件权限,但我不确定这是否是问题所在或如何继续。

【问题讨论】:

    标签: apache http-status-code-403


    【解决方案1】:

    为 Player1 及其下的文件/文件夹尝试 chmod 755..

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-04-10
      • 2016-04-21
      • 1970-01-01
      • 2022-01-19
      • 1970-01-01
      • 1970-01-01
      • 2022-09-27
      • 2015-08-30
      相关资源
      最近更新 更多