Apache - AH00548
2016-05-31 00:00
375 查看
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 - AH00558
- Apache - AH01630
- Apache - 403错误
- CentOS 6.6 下Apache+PHP+Mysql编译安装
- wampserver中Apache启动不了的问题
- 如何在集合中筛选出满足条件的元素——org.apache.commons.collections4的使用
- Apache Shiro
- apache安装
- apache日志轮询技术(cronolog and rotatelogs)小结
- 如何在linux下搭载PHP(Apache)运行环境
- apache commons-io
- mac搭建阿帕奇Apache
- ubuntu apache2配置
- ApacheDS 2.0__Basic User Guide 1.4.5 - Enable and disable anonymous access (基础用户指导手册)
- ApacheDS 2.0__Basic User Guide 1.4.4 - Configure logging (基础用户指导手册)
- apache中启动权限问题
- apache基金会软件宝库鉴赏(草稿)
- Apache Struts2任意代码执行漏洞(S2-032)检测程序
- SVN问题之——org.apache.subversion.javahl.ClientException: Attempted to lock an already-locked dir
- org.apache.jasper.JasperException: #{..} is not allowed in template text 解决