我已经在Ubuntu 12.04上安装了xampp,并将我的项目放在文件夹/opt/lampp/htdocs/project_is_here中。
当我在浏览器中输入localhost/soap/php(soap/php位于我的htdocs文件夹中),也就是index.php所在的地方,会出现以下错误:
当我在浏览器中输入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
有什么办法可以解决这个问题吗?我认为放置项目的位置是正确的,因为我尝试了其他地方,但都提示位置不存在,只有在这里才不会出现错误并得到所需结果。
你有什么建议吗?