Apache - AH00548
2016-05-31 20:32
555 查看
1.1.1 现象
Apache启动,日志有如下错误:
AH00548: NameVirtualHost has no effect and will be removed in the next release
1.1.2 原因
配置虚拟站点的时候,根据说明配置如下:
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> |
红色字体部分报错。
1.1.3 解决
根据错误提示,将上面红色字体部分的配置去掉,重启服务器即可。
阅读更多相关文章推荐
- Apache - AH00548
- Apache配置多域名 AH00548: NameVirtualHost has no effect and will be removed in the next release
- Apache - AH00548
- application.xml "org.apache.commons.dbcp.BasicDataSource] not found "
- Windows下Apache和PHP5的安装与配置方法
- The Apache Velocity Project
- Jack's Tag——今天参加软件园开源讲座,Git、svn、apache各种听不懂
- apache httpd server config and compile
- 如何在windows下安装两个apache
- apache 2.4 访问权限配置
- Apache RocketMQ 4.0.0 - linux安装与配置笔记
- puppet apache模块的例子
- Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
- 为OpenERP7.0设置Apache反向代理
- (PHP)设置修改 Apache 文件根目录 (Document Root)(转帖)
- org.apache.ibatis.binding.BindingException 奇葩问题解决
- 【PHP项目部署三】Apache环境配置
- Apache从URL到文件系统的映射
- Apache配置文件中Order Allow Deny笔记心得
- 在ubuntu下整合apache http server tomcat