紫禁城您没有权限访问/在此服务器上。服务器无法读取htaccess文件,拒绝访问是安全的 [英] Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe

查看:6863
本文介绍了紫禁城您没有权限访问/在此服务器上。服务器无法读取htaccess文件,拒绝访问是安全的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我在我的整个经销商帐户的一个单一的网站得到这个消息:禁止

Right now I'm getting this message in a single site of my whole reseller account: Forbidden

您没有权限访问/在此服务器上。服务器无法
  读htaccess文件,拒绝访问是安全的。

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

此外,尝试遇到一个403 Forbidden错误
  使用ErrorDocument来处理请求。

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

这件事发生突然。我试图重新命名根htaccess的其他任何事物,而错误仍然存​​在,我甚至尝试设置744权限的文件,仍然是同样的事情。目前该文件正在使用默认文件的权限,644。
该错误是在ocuring: http://lucrebem.com.br

It happened all of a sudden. I tried renaming the root htaccess to anything else, and the error is still there, I even tried setting up 744 permissions to the file, still the same thing. Currently the file is using the default files permissions, 644. The error is ocuring at: http://lucrebem.com.br

推荐答案

您需要一个&LT增加;目录块Apache配置

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>

这将授予所需的权限

这篇关于紫禁城您没有权限访问/在此服务器上。服务器无法读取htaccess文件,拒绝访问是安全的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆