• Apachewin2003环境下 403错误解决一例


    apache 403错误,显示信息如下: --------------------------------------------------------------------------------------------------- 您无权查看该网页 您可能没有权限用您提供的凭据查看此目录或网页 果您确信能够查看该目录或网页,请尝试使用 192.168.1.5 主页上所列的电子邮件地址或电话与网站联系。
    可以单击搜索,寻找 Internet 上的信息。
    HTTP 错误 403 - 禁止访问 Internet Explorer
    ----------------------------------------------------------------------------------------------------- 去掉显示友好信息的钩后显示Forbidden   You don't have permission to access \ on this server.
    ----------------------------------------------------------------------------------------------------- apache昨天调试了一下午,都没有解决这个问题,到今天上午,仔细检查了一遍配置文件httpd.conf,找到这么一段: <Directory />      Options FollowSymLinks      AllowOverride None      Order deny,allow      deny from all      Satisfy all </Directory> 然后试着把deny from all中的deny改成了allow,保存后重起了apache,然后再一测试我的网页,哈哈!居然问题就出在这,访问测试网站完全正常了。
    APACHE升级到2.2版本之后,提供和支持不少模块的支持,性能和安全上也有不少改进。
    所有往常我们配置好apache的httpd.conf之后,即可使用,但是现在我们必须额外对这个文件进行其他方面的配置,不然会出现 http 403权限问题错误。以下是解决方法。下面是httpd.conf文件的其中一段原代码。我们必须把下面代码红色标志进行更改:
    <Directory "E:/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     # [url]http://httpd.apache.org/docs/2.2/mod/core.html#options[/url]     # 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>
    红色部分更改为 Allow from all ,也就是所有访问允许通过。
  • 相关阅读:
    2019 SDN阅读作业
    2019 SDN上机第3次作业
    SDN实验2
    SDN
    说好不肝---第五次作业
    [2020BUAA软工助教]助教每周小结(week 8)
    [2020BUAA软工助教]助教每周小结(week 7)
    [2020BUAA软工助教]助教每周小结(week 6)
    [2020BUAA软工助教]助教每周小结(week 5)
    [2020BUAA软工助教]助教每周小结(week 4)
  • 原文地址:https://www.cnblogs.com/lchangelo/p/3084423.html
Copyright © 2020-2023  润新知