需要帮助在 CentOS 5.5 上设置 Apache,得到 403 [英] Need help setting up Apache on CentOS 5.5 , getting 403
问题描述
我已经购买了一个 VPS 并且我已经完成了这里描述的所有事情(版本 2.2.17):http://httpd.apache.org/docs/current/install.html
I have purchased a VPS and I have done everything described here (version 2.2.17) : http://httpd.apache.org/docs/current/install.html
我运行了 apache,但无法在浏览器中查看页面.Chrome 说:糟糕!谷歌浏览器无法连接到......当我
I have apache running, but I can not view the page in browser. Chrome says : Oops! Google Chrome could not connect to ... and when I
lynx localhost
我明白
[error] [client 127.0.0.1] (13)Permission denied: access to / denied
我尝试了 chmod 744 htdocs/index.html
但仍然没有.
I tried chmod 744 htdocs/index.html
but still nothing.
Apache 正在运行 httpd (pid 7638) 已经在运行
Apache is running httpd (pid 7638) already running
这里是 conf/httpd.conf 文件 https://gist.github.com/875352
And here is the conf/httpd.conf file https://gist.github.com/875352
感谢任何帮助,谢谢
推荐答案
确保包括 htdocs 目录在内的所有目录都已公开阅读.:)
Make sure all directories up to and including your htdocs directory have public read. :)
这篇关于需要帮助在 CentOS 5.5 上设置 Apache,得到 403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!