centos“You don’t have permission to access /index.html on this server.”

http://fan-r.iteye.com/blog/430215

Forbidden

You don’t have permission to access /index.html on this server.

开始我以为我配置出错,花半天时间都没有搞定,今天终于搞定了.

原因:index.html是用root用户建的文件,apache权限不够。

解决方法:更改文件权限;chmod 755 index.html

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注