从手机远程访问WAMP

时间:2016-03-16 11:18:34

标签: apache permissions wamp local configure

我遇到与此问题中描述的问题相同的问题

Forbidden error when accessing wamp from local network

我尝试了所有这些但是不起作用:(

1 个答案:

答案 0 :(得分:0)

我找到了解决问题的方法。

httpd.conf文件中的

更改以下内容

DocumentRoot "J:/wamp/www/"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#
<Directory />
    Options FollowSymLinks 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory>

这也是,

#   onlineoffline tag - don't remove
    Order Allow,Deny 
    Allow from all 
    Allow from 127.0.0.1 
</Directory>

它对我来说很好。

我找到了来自Github

的解决方案