apache启动报错[warn] _default_ VirtualHost overlap on port 80, the first has precedence 解决办法

【linux命令】apache启动报错[warn] _default_ VirtualHost overlap on port 80, the first has precedence 解决办法

使用新搭建环境配置yum 了一个apache,配置多个虚拟主机以后,启动报错:[warn] _default_ VirtualHost overlap on port 80, the first has precedence 而且所有访问站点都是建立的第一个站点。
解决办法:vi httpd.conf 找到
#NameVirtualHost *:80 这行,将注释取消后重新启动apache,问题解决。

hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » apache启动报错[warn] _default_ VirtualHost overlap on port 80, the first has precedence 解决办法