为什么用127.0.0.1这个IP无法访问,我本地的站点呢?和虚拟路径有关系吗???

解决方案 »

  1.   

    lz用的是什么服务器软件 IIS?wamp?
      

  2.   


    我也觉得是,lz看看如果是wamp有没有put online如果是iis,www站点设置是否正确
      

  3.   

    服务器是apache,
    我的环境是 wamp
      

  4.   

    wamp 启动了没,左键点击任务栏wanmp图标,点‘启动所有服务’
      

  5.   

    我装的是AppServ集成环境,
    虚拟路径是这样配置的
    <Directory "D:/web/phpcms">
        #Options Indexes FollowSymLinks MultiViews ExecCGI
        Options Indexes FollowSymLinks
        
        #AllowOverride All
        AllowOverride NONE    # Controls who can get stuff from this server.
        #
        Order allow,deny
        Allow from all
    </Directory><VirtualHost *:80>
             ServerAdmin [email protected]
             DocumentRoot D:/web/phpcms
             ServerName phpcms.com
             ErrorLog D:/error/phpcms_error.log
             CustomLog logs/dummy-host2.appservnetwork.com-access_log common
    </VirtualHost>下面这个是默认路径,(现在已经不起作用了)
    <Directory "d:/AppServ/www">    Options Indexes FollowSymLinks MultiViews ExecCGI    AllowOverride All    Order allow,deny
        Allow from all</Directory>