Forbidden You don't have permission to access XXX on this server
Forbidden You don't have permission to access / on this server.
找到 apache 配置文件 httpd.conf
把里面的
<Directory />
AllowOverride none
Require all denied
</Directory>
改为
<Directory />
AllowOverride none
Require all granted
</Directory>