gpt4 book ai didi

php - SilverStripe:禁止的权限错误

转载 作者:太空宇宙 更新时间:2023-11-03 17:24:28 35 4
gpt4 key购买 nike

我使用 SilverStripe 创建了一个网站。它在我的 wamp 服务器上工作,并且在共享服务器上工作 - 但是,当我在 Cent OS apache (/var/www/html/info) 上配置它时,它说:

Forbidden

You don't have permission to access /info on this server.

我已将 httpd.conf 文件更改为 this post建议,但它仍然不起作用。

最佳答案

在 Cent OS 终端运行

restorecon -r /var/www/html

然后 Forbidden Permission Error 消失了。

关于php - SilverStripe:禁止的权限错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27472463/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com