最簡單的apache虛擬機故障

2009/9/3 来源:www.arpun.com 作者:小白

配了apache的虛擬機以後發現了一個apache虛擬機故障, 故障現象是再啟動的時候出現下面的錯誤提示

[warn] _default_ VirtualHost overlap on port 80, the first has precedence

apache虛擬機故障解決辦法:

<VirtualHost *:80>

ServerAdmin webmaster@dummy-host.example.com

DocumentRoot D:/workspace/hkitn

ServerName www.hkitn.com

ErrorLog logs/dummy-host.example.com-error_log

CustomLog logs/dummy-host.example.com-access_log common

</VirtualHost>

NameVirtualHost *:80

<VirtualHost *:80>

DocumentRoot D:/php

ServerName www.hkitn.com

</VirtualHost>

网友评论
评论(...
全部评论