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.解决方法相关推荐

  1. You don't have permission to access / on this server. ---解决方法

    有的时候,比如做Apache项目时(Hudson),你或许会遇到 You don't have permission to access / on this server. 错误,提示你没有权限访问, ...

  2. centos7 apache 虚拟目录 You don't have permission to access / on this server 解决方法

    修改httpd.conf <IfModule> Alias /libs"/opt" </IfModule> <Directory "/opt ...

  3. 提示YOU DON'T HAVE PERMISSION TO ACCESS / ON THIS的解决方法

    Forbidden  You don't have permission to access / on this server.   解决办法 打开 httpd.conf 文件, 将 #  onlin ...

  4. 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 ...

  5. 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 ...

  6. Wamp错误: Forbidden You don't have permission to access / on this server.

    找到php的配置文件httpd.conf(找不到的话看这篇:http://www.cnblogs.com/liulangmao/p/3569807.html) 在原有的位置文件中找到配置节 <D ...

  7. 关于网站搭建外网访问出现的Forbidden You don't have permission to access / on this server. Additionally问题

    这个问题的一个根本原因是因为:swampserver默认访问的是www文件夹的站点,不允许访问其他的站点,我这次出现的原因是在之前的文件夹中又多生成了一层,所以出现了这个情况. 我的个人解决办法:因为 ...

  8. 配置apache2.4时出现Forbidden You don't have permission to access / on this server. 问题解决方案

    安装完wampserver后,通过127.0.0.1或localhost访问网页可以正常访问: 但是通过其他电脑对服务器的公网ip地址进行访问,一直显示forbid....如图: 查阅博客帖子,发现这 ...

  9. 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 ...

最新文章

  1. iBATIS学习笔记开篇
  2. System.Threading.Interlocked.Exchange(ref m_Value, value);
  3. 2021年高薪城市排名,数据盘点哪些城市对打工人最友好?
  4. java web ftp上传_java web FTPClient实现上传文件到指定服务器
  5. API Gateway简介
  6. 消息提示框-事件冒泡
  7. python3.0实例_python3.0 模拟用户登录,三次错误锁定的实例
  8. python查询最高分_精通 Oracle+Python,第 1 部分:查询最佳应践
  9. VSTS 离线源码版本辅助工具
  10. 手机pdf格式怎么弄_pdf怎么转html?pdf转html技能分享给你
  11. WordPress 修改固定链接出错(apache2)
  12. 手动构建Docker镜像
  13. 兴业银行银企直联如何查询转账支付后的手续费及退票流水
  14. Mac操作系统输入法快捷键设置
  15. android手机连接windows电脑,安卓手机USB怎么连接电脑上网(一个APP让你的安卓手机变Windows电脑)...
  16. 欣赏深圳东部最迷人的东冲海岸线与最纯净的沙滩
  17. 电子齿轮 电子凸轮
  18. 什么是等保?等保流程又具体包含哪些内容呢?
  19. 数据库设计需要注意什么?
  20. 微服务架构的简单实现-Stardust

热门文章

  1. HTML5 入门详解
  2. nginx正则表达式
  3. Confluence 6 从外部目录中同步数据支持的目录类型
  4. nagios自定义监控脚本
  5. 如何建立一个完整的游戏AI
  6. awk批量修改文件名,awk用法
  7. Ext.form.field.CheckBox复选框和Ext.form.field.Radio单选框
  8. 精品 IDEA 插件大汇总!值得收藏
  9. 飞鸽传书不能用?这里列出所有解决方法!
  10. 今天的成功的滋味 企业即时通讯