我已经购买了一个 VPS,并且我已经完成了此处描述的所有操作(版本 2.2.17):http://httpd.apache.org/docs/current/install.html
我正在运行 apache,但无法在浏览器中查看页面。 Chrome 说:糟糕!谷歌浏览器无法连接到......当我
lynx localhost
我明白了
[error] [client 127.0.0.1] (13)Permission denied: access to / denied
我尝试了 chmod 744 htdocs/index.html
但仍然没有。
Apache 正在运行 httpd (pid 7638) 已经在运行
这是 conf/httpd.conf 文件 https://gist.github.com/875352
感谢任何帮助,谢谢
最佳答案
确保直到并包括你的 htdocs 目录的所有目录都已公开阅读。 :)
关于linux - 需要帮助在 CentOS 5.5 上设置 Apache,得到 403,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5346479/