Apache 2.4.27 局域网访问提示 You don't have permission to access / on this server

问题

本机用localhost和ip都可以访问,局域网不可以访问,并且出现提示 You don't have permission to access / on this server。

 

解决

如果需要让局域网中的电脑通过IP访问你的网站,则需将httpd.conf文件中 Require local 换成 Require all granted 即可。

posted on 2017-11-30 11:09  神奇的旋风  阅读(445)  评论(0)    收藏  举报

导航