1. 程式人生 > >Apache Version: 2.4.33 提示You don't have permission to access / on this server 的錯誤

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

然後就可以了