http.conf
Listen 8090
Include conf/extra/httpd-vhosts.conf 已经开启
LoadModule vhost_alias_module modules/mod_vhost_alias.so 已经开启
LoadModule authz_host_module modules/mod_authz_host.so 已经开启
DocumentRoot "E:/web"
httpd-vhosts.conf
<VirtualHost *:80>
ServerName www.lyt7y.cn
DocumentRoot "E:/web/myweb"
ServerAlias www.lyt7y.cn
</VirtualHost>
hosts
127.0.0.1 www.lyt7y.cn
localhost:8090 访问正常。www.lyt7y.cn 无法访问(www.lyt7y.cn 拒绝了我们的连接请求),