您现在的位置:首页 >> 前端 >> 内容

Wampserver配置多站点后无法进入localhost

时间:2017/3/18 9:29:00 点击:

  核心提示:Wampserver配置多站点后无法进入localhost:1:先为localhost配置一个站点(在httpd-vhosts.conf中)。ServerName localhost Document...

Wampserver配置多站点后无法进入localhost:1:先为localhost配置一个站点(在httpd-vhosts.conf中)。


    ServerName localhost
     DocumentRoot D:\wamp64\www
    
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require local
    

浏览器输入localhost还是无法打开localhost,直接转成启动搜索引擎进行搜索。解决方法:输入120.0.0.1或者https://120.0.0.1 或者 https://localhost。

Tags:WA AM MP PS 
作者:网络 来源:不详