Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 禁止:你不';I don’我无权访问此服务器,Fedora 22上的LAMP服务器_Apache_Laravel_Fedora_Lamp - Fatal编程技术网

Apache 禁止:你不';I don’我无权访问此服务器,Fedora 22上的LAMP服务器

Apache 禁止:你不';I don’我无权访问此服务器,Fedora 22上的LAMP服务器,apache,laravel,fedora,lamp,Apache,Laravel,Fedora,Lamp,我已经在Fedora 22上安装了LAMP服务器,但当我需要访问时 我的服务器localhost/myapp/public,我看到此错误 Forbidden You don't have permission to access /myapp/public/ on this server. Server unable to read htaccess file, denying access to be safe 我如何解决这个问题,我想这个问题可以通过修改来解决 httpd.conf

我已经在Fedora 22上安装了LAMP服务器,但当我需要访问时 我的服务器localhost/myapp/public,我看到此错误

Forbidden
  You don't have permission to access /myapp/public/ on this server.
  Server unable to read htaccess file, denying access to be safe
我如何解决这个问题,我想这个问题可以通过修改来解决 httpd.conf文件,但我不知道怎么做,我正在使用apache2


有什么建议吗

引用磁盘上的htaccess文件时,应该有相应的错误日志访问


如果您使用“itk”MPM,则可能是itk问题。否则,请确保根目录和内容目录之间的所有目录都是世界可读的和世界可执行的,并且任何.htaccess文件都可以通过服务器ID(www-data、apache等)读取。

谢谢covener爵士,事实上我不太了解apache服务器,我不是服务器管理员,我正在fedora工作站上工作,你可以说我只是用户,如果你能向我解释更多,我将非常感谢你的帮助