首页 > 数据库技术 > 详细

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

时间:2015-11-05 18:06:56      阅读:509      评论:0      收藏:0      [点我收藏+]
之前安装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

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.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,输入电脑地址,出现。。。。。

 

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

原文:http://www.cnblogs.com/zzg521/p/4940005.html

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