局域网访问wamp本地网站

在局域网(比如,在同一个宿舍里)中,如何在另一台计算机中访问自己电脑上的本地网站呢?

操作系统:Windows XP

服务器:WAMP5

网站:PHP网站(ECSHOP)

打开httpd.conf,找到并修改


    OptionsFollowSymLinks
   AllowOverride None
    Orderdeny,allow
    Allow from all#以前是Deny fromall
   Satisfy all

......

    #
    # Possiblevalues for the Options directive are "None", "All",
    # or anycombination of:
     Indexes IncludesFollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that"MultiViews" must be named *explicitly* --- "Options All"
    # doesn'tgive it to you.
    #
    # TheOptions directive is both complicated andimportant.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for moreinformation.
    #
    OptionsIndexes FollowSymLinks

    #
    #AllowOverride controls what directives may be placed in .htaccessfiles.
    # It can be"All", "None", or any combination of the keywords:
     Options FileInfo AuthConfigLimit
    #
   AllowOverride all

    #
    # Controlswho can get stuff from this server.
    #
  onlineoffline tag - don'tremove
    OrderDeny,Allow
    Deny fromall
    Allow from all #以前是Allow from 127.0.0.1

注意:把防火墙关掉。 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值