#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是一個日文的網(wǎng)頁
然后重新配置的時候發(fā)現(xiàn)
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
這里刪掉#
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
之后
localhost就打不開了....
懵逼?。?br />
2016-08-18
新版本,#不刪
2016-08-14
再試一次