出现这个报错需要更改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.
原文:http://www.cnblogs.com/voidcat/p/4970226.html