mac上的xampp出现Access forbidden! You don’t have permission to access the requested object. It is either

一个Joomla!程序,之前是在win上的xampp上运行得非常好的,当我把它拿到mac下面的xampp上去运行的时候,发现有问题,没法运行,报以下的错误:

Access forbidden!  You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

这时可以找到apache的httpd.conf文件,找出<Directory />

修改成如下:

<Directory />
    Options All
    AllowOverride All
    Order deny,allow
    Allow from all
</Directory>

如果还是不行,可以

chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs

即可运行了。


转载:http://www.chenwg.com/joomla-2/mac%E4%B8%8A%E7%9A%84xampp%E5%87%BA%E7%8E%B0access-forbidden-you-dont-have-permission-to-access-the-requested-object-it-is-either-read-protected-or-not-readable-by-the-server.html

你可能感兴趣的:(mac上的xampp出现Access forbidden! You don’t have permission to access the requested object. It is either)