22

apache2 Webサーバーを再起動するときに次のエラーが表示される理由を理解するのを手伝ってもらえますか:

[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

エラーは常に 2 回表示されます。NameVirtualHost ディレクティブとは何ですか?

ありがとう。

4

1 に答える 1

28

この例を見てください。

おそらく、ApacheHTTPサーバー構成に次の行を追加する必要があります。

NameVirtualHost 172.30.30.12:443
于 2012-11-09T15:06:04.073 に答える