Permission denied when opening localhost

断了今生、忘了曾经 提交于 2019-12-05 03:51:00

According to this article, you need to give read/execute permissions to Owner, Group, and Everyone.

Set permissions on the problem file to 777. Note, you should avoid doing this on a server that's accessible from the internet.

http://webomania.wordpress.com/2007/03/12/permission-denied-in-unknown-on-line-0/

To fix this problem, look at the line in your ErrorLog, to find out which folder it is trying to access. If a block already exists for that folder, make sure it is set to allow access as necessary. If not, add a block to your Apache configuration file, allowing access as required. See the example below for folder /usr/local/awstats/htdocs.

Order allow,deny Allow from all

for a complete reference, check the apache wiki

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!