The Apache service named reported the following error:
>>> [Sat Dec 06 21:53:00 2014] [warn] NameVirtualHost *:80 has no VirtualHosts |
|
沙发#
发布于:2014-12-07 15:30
如果是apache2.4版本,NameVirtualHost *:80这个配置已失效,不能加了,去掉即可。
如果是apache2.2版本,NameVirtualHost *:80这个配置加上后,所有虚拟主机头得改成<VirtualHost *:80> |
|
板凳#
发布于:2015-04-18 07:17
NameVirtualHost *
这样就可以了 |
|