Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe

别等时光非礼了梦想. 提交于 2019-12-03 02:52:30

You need to add a <Directory block to your apache config

<Directory "/path/to/source/file/directory/www">
    Options Indexes FollowSymLinks
    AllowOverride all
    Require all granted
</Directory>

This grants the required permission

So the problem was that the public_html folder changed permissions to 744, but I never changed it. I solved it changed the permissions to 750. But how do I see the logs??? Because I never did a change on that folder, I'm afraid it might have been an attack.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!