Chinaunix

标题: 版主求救 [打印本页]

作者: yanghe    时间: 2006-11-11 23:00
标题: 版主求救
我在网上下载的redhat as4镜像,安装完之后我配置dns成功了,我想配置apache服务,我是按照9的方法配置的,
namevirtualhost 10.0.0.1
<virtualhost 10.0.0.1>
   serveradmin  root@abc.com
   servername  www.abc.com
   doctoryindex  index.htm
   documentroot  /home/abc/html
   errorlog          /home/abc/logs/access_logs
</virtualhost>
我启动服务service httpd start
给我提示“警告documentroot  /home/abc/html“目录错误,我把documentroot  /home/abc/html去掉,在启动服务启动成功,我想问问大家,配置虚拟主机怎么弄啊,
作者: yu12    时间: 2006-11-13 06:24
确定服务器上有/home/abc/html这个目录,以及其权限
作者: ylcqen    时间: 2006-11-15 17:40
楼主说得对。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2