Forbidden You don't have permission to access / on this server.解决方法
wamap本地搭建完毕后,输入http://localhost/出现下面的问题
问题报错:Forbidden You don't have permission to access / on this server.
解决方式:如下修改php的配置文件httpd.conf
在原有的位置文件中找到配置节<Directory />Options FollowSymLinksAllowOverride NoneOrder deny,allowDeny from allSatisfy all
</Directory>修改成<Directory />Options FollowSymLinksAllowOverride NoneOrder deny,allow
# Deny from allAllow 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 removeOrder Deny,AllowDeny from allAllow 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 removeOrder Deny,Allow
# Deny from all# Allow from 127.0.0.1Allow from all</Directory>
Forbidden You don't have permission to access / on this server.解决方法相关推荐
- You don't have permission to access / on this server. ---解决方法
有的时候,比如做Apache项目时(Hudson),你或许会遇到 You don't have permission to access / on this server. 错误,提示你没有权限访问, ...
- centos7 apache 虚拟目录 You don't have permission to access / on this server 解决方法
修改httpd.conf <IfModule> Alias /libs"/opt" </IfModule> <Directory "/opt ...
- 提示YOU DON'T HAVE PERMISSION TO ACCESS / ON THIS的解决方法
Forbidden You don't have permission to access / on this server. 解决办法 打开 httpd.conf 文件, 将 # onlin ...
- Forbidden You don't have permission to access / on this server PHP
Forbidden You don't have permission to access / on this server PHP 在新安装的谷歌游览器里,打不了PHP网站了,错误显示: Forbi ...
- thinkphp出现 Forbidden You don‘t have permission to access / on this server. Additionally, a 403 Forbi
thinkphp出现 Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbi ...
- Wamp错误: Forbidden You don't have permission to access / on this server.
找到php的配置文件httpd.conf(找不到的话看这篇:http://www.cnblogs.com/liulangmao/p/3569807.html) 在原有的位置文件中找到配置节 <D ...
- 关于网站搭建外网访问出现的Forbidden You don't have permission to access / on this server. Additionally问题
这个问题的一个根本原因是因为:swampserver默认访问的是www文件夹的站点,不允许访问其他的站点,我这次出现的原因是在之前的文件夹中又多生成了一层,所以出现了这个情况. 我的个人解决办法:因为 ...
- 配置apache2.4时出现Forbidden You don't have permission to access / on this server. 问题解决方案
安装完wampserver后,通过127.0.0.1或localhost访问网页可以正常访问: 但是通过其他电脑对服务器的公网ip地址进行访问,一直显示forbid....如图: 查阅博客帖子,发现这 ...
- Forbidden You don#39;t have permission to access / on this server.
原文:Forbidden You don't have permission to access / on this server. Forbidden You don't have permissi ...
最新文章
- iBATIS学习笔记开篇
- System.Threading.Interlocked.Exchange(ref m_Value, value);
- 2021年高薪城市排名,数据盘点哪些城市对打工人最友好?
- java web ftp上传_java web FTPClient实现上传文件到指定服务器
- API Gateway简介
- 消息提示框-事件冒泡
- python3.0实例_python3.0 模拟用户登录,三次错误锁定的实例
- python查询最高分_精通 Oracle+Python,第 1 部分:查询最佳应践
- VSTS 离线源码版本辅助工具
- 手机pdf格式怎么弄_pdf怎么转html?pdf转html技能分享给你
- WordPress 修改固定链接出错(apache2)
- 手动构建Docker镜像
- 兴业银行银企直联如何查询转账支付后的手续费及退票流水
- Mac操作系统输入法快捷键设置
- android手机连接windows电脑,安卓手机USB怎么连接电脑上网(一个APP让你的安卓手机变Windows电脑)...
- 欣赏深圳东部最迷人的东冲海岸线与最纯净的沙滩
- 电子齿轮 电子凸轮
- 什么是等保?等保流程又具体包含哪些内容呢?
- 数据库设计需要注意什么?
- 微服务架构的简单实现-Stardust