apache配置多个虚拟主机 localhost访问不了解决方案,apachelocalhost
在httpd-vhosts.conf,重定向localhost
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "D:/PHPAPACHERUN"
ServerName localhost
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
而如果出现访问127.0.0.1的结果不是自己想要的,可能是因为httpd-vhosts.conf,存在了多个
网友评论
文明上网理性发言,请遵守 新闻评论服务协议
我要评论