Wamp错误: Forbidden You don't have permission to access / on this server.
来源:互联网 发布:sql删除表数据 编辑:程序博客网 时间:2024/05/18 22:56
原文 http://www.cnblogs.com/liulangmao/p/3569826.html
找到php的配置文件httpd.conf(找不到的话看这篇:http://www.cnblogs.com/liulangmao/p/3569807.html)
在原有的位置文件中找到配置节
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
修改成
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all
Allow from all
#允许所有访问
Satisfy all
</Directory>
还有
<Directory "D:/Wamp5/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
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
修改成
<Directory "D:/Wamp5/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
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
Allow from all
</Directory>
保存,重启服务,在访问就解决了这个问题。
找到php的配置文件httpd.conf(找不到的话看这篇:http://www.cnblogs.com/liulangmao/p/3569807.html)
在原有的位置文件中找到配置节
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
修改成
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all
Allow from all
#允许所有访问
Satisfy all
</Directory>
还有
<Directory "D:/Wamp5/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
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
修改成
<Directory "D:/Wamp5/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
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
Allow from all
</Directory>
保存,重启服务,在访问就解决了这个问题。
0 0
- Wamp错误: Forbidden You don't have permission to access / on this server.
- wamp Forbidden You don't have permission to access / on this server.
- 网站发布时出现Forbidden You don't have permission to access / on this server. 错误
- 局域网访问Apache PHP错误:Forbidden You don't have permission to access / on this server.
- PHP错误:Forbidden You don't have permission to access / on this server. 解决办法
- PHP错误:Forbidden You don't have permission to access / on this server.
- PHP错误:Forbidden You don't have permission to access / on this server.
- HTTP错误:Forbidden You don't have permission to access …… on this server.
- WAMP Server多站点出现You don t have permission to access / on this server错误
- Wamp下的虚拟主机报错403 Forbidden, You don't have permission to access / on this server.
- 访问wamp的PHPadmin时遇到Forbidden You don't have permission to access / on this server. You don't have per
- VisualSVN---You don't have permission to access on this server/Access ...forbidden
- Apache配置问题Forbidden You don't have permission to access / on this server
- Apache配置问题Forbidden You don't have permission to access / on this server
- Forbidden You don't have permission to access /localhost/plan/index2.php on this server.
- Forbidden You don't have permission to access / on this server.
- php:Forbidden You don’t have permission to access / on this server.
- php:Forbidden You don’t have permission to access / on this server.
- 浅析深究什么是SOA
- java在后台输出js弹出对话框
- Android属性动画-全解
- 安装Python-3.5.2过程中常见的几种错误
- kali vpn配置
- Wamp错误: Forbidden You don't have permission to access / on this server.
- spring mvc和struts2的区别
- Unity UI(五):交互式控件之Button
- 二叉搜索树转换为双向链表
- 指针基础概念
- Java反射应用
- JS中的其他跨域技术
- codeforces708BRecover the String+数学构造
- Cookie的应用:显示用户上次浏览过的商品