22

有人可以帮我理解为什么我在重新启动我的 apache2 网络服务器时收到以下错误:

[Fri Nov 09 09:46:43 2012] [warn] VirtualHost 172.30.30.12:443 overlaps with VirtualHost 172.30.30.12:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Nov 09 09:46:43 2012] [warn] VirtualHost 172.30.30.12:443 overlaps with VirtualHost 172.30.30.12:443, the first has precedence, perhaps you need a NameVirtualHost directive

错误总是出现两次。什么是 NameVirtualHost 指令?

谢谢。

4

1 回答 1

28

看看这个例子

您可能需要将此行添加到您的 Apache HTTP Server 配置中:

NameVirtualHost 172.30.30.12:443
于 2012-11-09T15:06:04.073 回答