LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 477|回复: 2

apache can't access home page.

[复制链接]
发表于 2003-7-19 16:53:04 | 显示全部楼层 |阅读模式
i install apache 1.3.28+php 4.2.3 when i visite my website ,i got

Forbidden
You don't have permission to access / on this server.

Apache/1.3.28 Server at www.mydomain.org Port 80

i 'chmod 777 apache/htdocs'
but no use

who can help me please ??
发表于 2003-7-19 22:22:51 | 显示全部楼层
Since your initial DocumentRoot is at /var/www/html, you should check if it is in an executable attrib. Normally, you can access your default website without a problem if you didn't make any revision on your configuration file.

Just check your /var/httpd/conf/httpd.conf file with DocumentRoot, and conform the chmod on such directory.
 楼主| 发表于 2003-7-20 20:56:29 | 显示全部楼层
thank you very much !
it works now.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表