出现这个报错需要更改apache配置文件
sudo vi /etc/apache2/httpd.conf
将
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>
或类似
修改为
<Directory /> Options Indexes FollowSymLinks AllowOverride None </Directory>
You don't have permission to access / on this server.
时间: 2024-10-13 01:20:40