WampSever 远程访问出现Forbidden You don’t have permission to access / on this server.解决方法

之前安装wamp远程可以访问,今天在公司安装后发现远程不能访问,原来是Apache的httpd.conf配置

下面为解决方法

打开httpd.conf

第一步找到

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>

改成

<Directory />
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>

 



第二步 还是在httpd
.conf找到
<Directory “C:/wamp/www”>
# Possible values for the Options directive are “None”, “All”,
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
# 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.2/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: # Options FileInfo AuthConfig Limit # #AllowOverride all AllowOverride none # # Controls who can get stuff from this server. # # onlineoffline tag – don’t remove Order Allow,Deny Allow from all # Allow from 127.0.0.1 </Directory>

 

重启Apache,输入电脑地址,出现。。。。。

 

posted @ 2015-11-05 16:37  人间最美二月天  阅读(5579)  评论(0编辑  收藏  举报