我已将xampp安装到Ubuntu 12.04。我已经把我的项目文件夹中的/ opt/LAMPP/htdocs中/ project_is_hereXampp - Ubuntu - 无法在lampp/htdocs中访问我的项目
当我在浏览器localhost/soap/php
(SOAP/PHP是在我的htdocs文件夹),这是键入index.php
我收到以下错误:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7
任何想法如何解决这个问题?我认为这是放置该项目的正确位置,因为我试过其他地方,它说位置不存在,这个错误消失在这里,我得到了这个。
任何想法?
[你不应该给你的web根目录777权限。](http://askubuntu.com/questions/20105/why-should-var-www-not-have-chmod-777 ) –