容器技术交流

 找回密码
 立即注册
查看: 2955|回复: 0

apache不能启动

[复制链接]
发表于 2012-7-6 13:16:19 | 显示全部楼层 |阅读模式
[root@svpbx conf]# service httpd restart
停止 httpd:                                               [失败]
启动 httpd:[Fri Jul 06 13:06:45 2012] [warn] NameVirtualHost 218.16.117.82:80 has no VirtualHosts
                                                           [失败]

下面配置有什么问题?

NameVirtualHost 218.16.117.82:80

<VirtualHost *:81>
ServerAdmin root@localhost
ServerName www.yicall.cn
Errorlog /var/www/html/yicall/logs/error_log
DocumentRoot /var/www/html/yicall
</VirtualHost>

<VirtualHost *:82>
ServerAdmin root@localhost
ServerName www.goodcall.cn
DocumentRoot /var/www/html/goodcall
</VirtualHost>

<VirtualHost *:83>
ServerName www.dxp123.com
ServerAdmin root@localnost
DocumentRoot /var/www/html/dxp123
</VirtualHost>

<VirtualHost *:84>
ServerName www.shejiss.com
ServerAdmin root@localhost
DocumentRoot /var/www/html/shejiss
</VirtualHost>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-15 06:43 , Processed in 0.030813 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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