wampserver2.5配置

2016-05-09 13:39:51
1. 局域网内其他设备访问设置改该设备配置
在272行添加红色内容(或者找到我用红色标记的行)
 
# 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.
    #
 
 
 
 
 
 
 
 
 
2.在locahost里面直接点击your project
 
在wampserver 2.5之后,在首页的Your projects里面,链接的地址为http://直接加你的系统名称,会导致无法访问,正常的应该为http://localhost+你的系统名称,这时需要修改www文件夹下的index.php文件,在此文件夹内搜索projectContents,然后将http://改成http://localhost即可。

关于

联系方式 :

mail: hey_cool@163.com ,
QQ:583459700

备案许可证编号:蜀ICP备16005545号-1 © COPYRIGHT 2015-2024 zhmzjl.com | by: KAPO