按照网上的配置,该改的都改了
文件:httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/WampServer/wamp64/www
<Directory "D:/WampServer/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName vvhl.app
DocumentRoot D:/WampServer/wamp64/www
<Directory "D:/WampServer/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#
文件:httpd.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
文件:hosts
127.0.0.1 vvhl.app
重启之后右下角图标是绿色的,本地localhost也可以打开,但是浏览器输入vvhl.app 就是打不开。。