Need help setting up Apache on CentOS 5.5 , getting 403

孤街醉人 提交于 2019-12-24 09:14:50

问题


I have purchased a VPS and I have done everything described here (version 2.2.17) : http://httpd.apache.org/docs/current/install.html

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

I get

[error] [client 127.0.0.1] (13)Permission denied: access to / denied

I tried chmod 744 htdocs/index.html but still nothing.

Apache is running httpd (pid 7638) already running

And here is the conf/httpd.conf file https://gist.github.com/875352

Any help is appreciated, thanks


回答1:


Make sure all directories up to and including your htdocs directory have public read. :)



来源:https://stackoverflow.com/questions/5346479/need-help-setting-up-apache-on-centos-5-5-getting-403

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