首页 > Web开发 > 详细

vwampserver2.5-apache2.4.9允许外部访问的配置

时间:2015-12-16 12:27:50      阅读:392      评论:0      收藏:0      [点我收藏+]

打开..\wamp\bin\apache\apache2.4.9\conf\httpd.conf配置文件,

<Directory "c:/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>

重启服务,再访问下就可以了。

vwampserver2.5-apache2.4.9允许外部访问的配置

原文:http://www.cnblogs.com/hfdp/p/5050534.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!