原文:Forbidden You don't have permission to access / on this server.

Forbidden

You don't have permission to access / on this server.

当出现此问题的时候,记得修改httpd.conf。

在原有的位置文件中找到配置节

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

Allow from all是关键

Forbidden You don#39;t have permission to access / on this server.相关推荐

  1. (已解决)wamp + Apache报错:出现403Forbidden You don't have permission to access / on this server.

    文章目录 `解决办法:` `*** `附件 · 延伸阅读 · 参考: 解决办法: 注意: 案例环境:win7 x64 或 win10 仅仅只需要修改apache配置文件httpd.conf 即可. 上 ...

  2. 【Apache】You don't have permission to access / on this server.问题解决

    目录 背景 正文 总结 背景 在服务器中输入localhost出现 Forbidden,You don't have permission to access / on this server. 在外 ...

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

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

    wamap本地搭建完毕后,输入http://localhost/出现下面的问题 问题报错:Forbidden You don't have permission to access / on this ...

  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. [备忘][转载]apache 403错误 You don't have permission to access on this server

    apache 403错误 You don't have permission to access on this server. 在配置好了Apache服务器后,测试已经通过了,但是通过浏览器访问lo ...

  7. 问题解决:Apache: You don't have permission to access / on this server

    虚拟主机(Virtual Host)是指在一个机器上运行多个网络站点 (比如:www.company1.com和www.company2.com). 如果每个网络站点拥有不同的IP地址,则虚拟主机可以 ...

  8. [乐意黎原创]访问Centos下Apache主机页面抛You don't have permission to access / on this server.

    Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, ...

  9. apache:You don't have permission to access on this server.

    You don't have permission to access on this server. 查日志: No matching DirectoryIndex (index.html) fou ...

最新文章

  1. 【组队学习】【29期】6. 动手学数据分析
  2. 原生JS DOM操作方法汇总
  3. c语言注释的开始标记符和结束标记符分别为,C语言程序设计填空题
  4. Slack:日活跃用户50万人、6周增幅35%造就奇迹
  5. es查询语句拼接 java_JAVA使用ElasticSearch查询in和not in的实现方式
  6. 硬件:开机如何进BIOS,U盘启动快捷键一键查询!
  7. 平面设计python教程_什么是平面设计? - Python学习教程的个人空间 - OSCHINA - 中文开源技术交流社区...
  8. 计算机网络基础文档,计算机网络基础-20210608152532.pdf-原创力文档
  9. 换个名字卖到海外?海外版小米9T与Redmi K20 Pro配置相差无几
  10. 原码, 反码, 补码
  11. java 文件传输_Java开发之如何通过HTTP方式传输文件
  12. Dom4j报错之java.lang.NoClassDefFoundError: org/jaxen/JaxenException的解决方案
  13. mac安装指定版本的ruby_Mac OS X 安装Ruby
  14. h5学习笔记 横排导航
  15. 统计学复习笔记(三)—— 置信区间(总体均值/比例/方差,总体均值之差/比例之差/方差之比)
  16. 【PS实例】照片拼图的制作
  17. python报错就一定是有错吗_Python-什么是错误的幻数错误?
  18. Java Servlet 详解:(三)在 IDES 中开发 Servlet-多图警告
  19. 官网webp转换工具cwebp简介
  20. 拒绝凌乱桌面 Type-C接口显示器的魅力,乐得瑞LDR6282 USB-C桌面显示器方案帮你实现

热门文章

  1. 中国大陆开源镜像站汇总
  2. 亲测SQLServer的最大连接数
  3. IE浏览器Cookie信息提取工具Galleta
  4. ueditor集成实例php,Laravel框架集成UEditor编辑器的方法图文与实例详解
  5. 手机存储sqlite还是mysql_手机存储 和sd 路径
  6. python多进程存储数据_Python 多进程及进程间通信
  7. mysql建表影响效率_MySQL建表查询优化技巧
  8. 研究人员使用宽场脑成像技术研究意图控制,探索更好的脑机接口使用方式
  9. 创建 3D 控件_2.设置角色蓝图
  10. 一个小灯泡引发大论战:千万粉丝科普up主翻车,伊朗“唐马儒”、李永乐等下场,30万公里导线引百万网友围观...