Apache Version: 2.4.33 提示You don't have permission to access / on this server 的错误

需要修改 apache的配置文件  httpd.conf 和 httpd-chosts.conf 这两个配置文件

1、将httpd.conf 中的denied 修改为 granted

2 、把 httpd-chosts.conf 中的require local 修改为 require all granted

然后就可以了

猜你喜欢

转载自www.cnblogs.com/mengguanghui/p/10121529.html