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 即可。
文章乃参考、转载其他博客所得,仅供自己学习作笔记使用!!!
浙公网安备 33010602011771号