【Apache】:_default_ VirtualHost overlap on port 80, the first has precedence

现象:

在设置apache虚拟主机的过程中,apache报错:_default_ VirtualHost overlap on port 80, the first has precedence

解决:

在httpd配置文件中补上以下代码 NameVirtualHost *:80 ,重启httpd即可。

参考:http://www.ayuelee.cn/apache-error-default-VirtualHost-overlap.html

发表评论