码迷,mamicode.com
首页 > 其他好文 > 详细

wamp配置局域网访问

时间:2017-04-04 13:37:12      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:this   auth   move   link   span   局域网访问   cat   can   xpl   

Apache的版本是2.4.9。

<Directory "D:/wamp/www/">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn‘t give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks


    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride all
    Require all granted   
    
    # Controls who can get stuff from this server.
    #


#   onlineoffline tag - don‘t remove
   Require local
</Directory>

 

以上红色的部分为增加的内容。现在通过局域网连接就可以访问到本地服务器上的内容了。

wamp配置局域网访问

标签:this   auth   move   link   span   局域网访问   cat   can   xpl   

原文地址:http://www.cnblogs.com/pengyunjing/p/6664704.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!