Apache启动,日志有如下错误:
AH00548: NameVirtualHost has no effect and will be removed in the next release
配置虚拟站点的时候,根据说明配置如下:
NameVirtualHost *:8080 <VirtualHost *:8080> ServerName www.mysite1.com #DocumentRoot "C:/Rainman/ProjectWorkspace2.0/SourceCode/Server/wanpush" #<Directory "C:/Rainman/ProjectWorkspace2.0/SourceCode/Server/wanpush"> DocumentRoot "C:/Rainman/ProjectWorkspace3.0_clound/SourceCode" <Directory "C:/Rainman/ProjectWorkspace3.0_clound/SourceCode"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> ErrorLog "logs/mysite1.com-error.log" CustomLog "logs/mysite1.com-access.log" common </VirtualHost> |
红色字体部分报错。
根据错误提示,将上面红色字体部分的配置去掉,重启服务器即可。
原文地址:http://lancelot.blog.51cto.com/393579/1784984