码迷,mamicode.com
首页 > 其他好文 > 详细

the first has precedence, perhaps you need a NameVirtualHost directive

时间:2015-05-18 12:54:34      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:httpd

问题

配置服务器时出现:VirtualHost free.crowdroid.com:443 overlaps with VirtualHost s.crowdroid.com,the first has precedence, perhaps you need a NameVirtualHost directive


答案:

实际反馈中已经给出了解决方法:NameVirtualHost需要设置,

具体方式:

在http的配置文件httpd.conf中找到NameVirtualHost或者直接手动输入

NameVirtualHost: ip地址:443

例子:

NameVirtualHost: 127.0.0.1:443

如果是http通信则

NameVirtualHost: ip地址:80


参考链接:http://www.ruiwant.com/apache-name-based-virtual-host-directive.html



the first has precedence, perhaps you need a NameVirtualHost directive

标签:httpd

原文地址:http://blog.csdn.net/li_yong_kuan/article/details/45818555

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!