#Include conf/extra/httpd-vhosts.conf 删了#连localhost也打不开了
我按视频的配置了一遍
我的apache是2.4.9的 有按照2.4和2.2的不同来配置
Require all denied (对应2.2的Deny from all)
Require all granted (对应2.2的Allow from all)
然后最后test01.com打不开 test02.com是一个日文的网页
然后重新配置的时候发现
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
这里删掉#
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
之后
localhost就打不开了....
懵逼啊!