You don't have permission to access / on this server.

如果你的osx 下的apache出现这个报错:



You don't have permission to access / on this server.



那肯定是因为你的apache配置文件httpd.conf 中的DocumentRoot目录和Directory的目录不一致导致的~~



修改一下/etc/apache2/http.conf调整成一致即可~~

你可能感兴趣的:(You don't have permission to access / on this server.)