http错误403 禁止

A 403 Forbidden Error occurs when a web server forbids you from accessing the page you’re trying to open in your browser. Most of the time, there’s not much you can do. But sometimes, the problem might be on your end. Here are some things you can try.

当Web服务器禁止您访问要在浏览器中打开的页面时,将发生403禁止错误。 大多数时候,您无能为力。 但是有时候,问题可能出在您身上。 您可以尝试以下方法。

什么是403禁止错误? (What is a 403 Forbidden Error?)

The 403 Forbidden Error happens when the web page (or other resource) that you’re trying to open in your web browser is a resource that you’re not allowed to access. It’s called a 403 error because that’s the HTTP status code that the web server uses to describe that kind of error. You usually get this error for one of two reasons. The first is that the owners of the web server have properly set up access permissions, and that you’re really not allowed access to the resource. The second reason is that the owners of the web server have improperly set up permissions and you’re getting denied access when you really shouldn’t be.

当您尝试在Web浏览器中打开的网页(或其他资源)是您不允许访问的资源时,就会发生403禁止错误。 之所以称为403错误,是因为这是Web服务器用来描述此类错误的HTTP状态代码。 通常,您会由于以下两个原因之一而收到此错误。 首先是Web服务器的所有者已经正确设置了访问权限,并且实际上不允许您访问该资源。 第二个原因是Web服务器的所有者未正确设置权限,而您本来应该拒绝访问权限。

Just like with 404 errors and 502 errors, website designers can customize how a 403 error looks. So, you might see different looking 403 pages on different websites. Websites might also use slightly different names for this error. For example, you might see things like:

就像404错误和502错误一样 ,网站设计者可以自定义403错误的外观。 因此,您可能会在不同的网站上看到外观不同的403页。 网站可能还会对此错误使用稍微不同的名称。 例如,您可能会看到以下内容:

  • 403 Forbidden403禁止
  • HTTP 403HTTP 403
  • Forbidden禁止的
  • HTTP Error 403 – ForbiddenHTTP错误403 –禁止
  • HTTP Error 403.14 – ForbiddenHTTP错误403.14 –禁止
  • Error 403错误403
  • Forbidden: You don’t have permission to access [directory] on this server禁止访问:您无权访问此服务器上的[目录]
  • Error 403 – Forbidden错误403 –禁止

The vast majority of the time, there’s not much you can do to fix things on your end. Either you’re really not allowed to access the resource, or there’s an error on the server side of things. Sometimes, it’s a temporary error; sometimes it isn’t. Still, there are some things you can try.

在绝大多数情况下,您无法做很多事情来解决问题。 确实不允许您访问资源,或者服务器端发生错误。 有时,这是暂时的错误; 有时候不是。 不过,您可以尝试一些方法。

刷新页面 (Refresh the Page)

Refreshing the page is always worth a shot. Many times the 403 error is temporary, and a simple refresh might do the trick. Most browsers use the F5 key to refresh, and also provide a Refresh button somewhere on the address bar. It doesn’t fix the problem very often, but it takes just a second to try.

刷新页面始终值得一试。 很多时候403错误是暂时的,只需刷新即可解决问题。 大多数浏览器使用F5键刷新,并在地址栏上的某个位置提供“刷新”按钮。 它不会经常解决问题,但是只需一秒钟即可尝试。

仔细检查地址 (Double Check the Address)

The most common reason for a 403 error is a mistyped URL. Make sure that the address you are trying to access is for a web page or file, not a directory. A regular URL would end in .com, .php, .org, .html, or just have an extension, while a directory URL would usually end with a “/”.

403错误的最常见原因是网址输入错误。 确保您尝试访问的地址用于网页或文件,而不是目录。 常规URL以.com,.php,.org,.html结尾或仅具有扩展名,而目录URL通常以“ /”结尾。

Most servers are configured to disallow directory browsing for security reasons. When they’re properly configured, you’re redirected to another page. When they’re not, you might see a 403 error.

出于安全原因,大多数服务器都配置为禁止目录浏览。 正确配置它们后,您将被重定向到另一个页面。 如果不是,您可能会看到403错误。

清除浏览器Cookie和缓存 (Clear Your Browser Cookies and Cache)

It’s also possible the page with the error has been cached in your browser, but the actual link was changed on the website. To test out this possibility, you’ll have to clear your browser cache and cookies. Clearing the cache won’t affect your browsing experience much, but some websites may a take a couple of extra seconds to load as they re-download all the previously cached data. Clearing cookies means you’ll have to sign in again to most websites.

错误页面也可能已缓存在您的浏览器中,但实际链接已在网站上更改。 为了测试这种可能性,您必须清除浏览器缓存和cookie。 清除缓存不会对您的浏览体验造成太大影响,但是某些网站在重新下载所有先前缓存的数据时可能会花费额外的几秒钟时间。 清除Cookie意味着您将不得不再次登录大多数网站。

To clear the cache in your browser, you can follow this extensive guide which will teach you how to clear your cache on all the popular desktop and mobile browsers.

要清除浏览器中的缓存,您可以按照这份详尽的指南进行操作 , 该指南将教您如何清除所有流行的台式机和移动浏览器上的缓存。

检查您是否具有访问URL的权限 (Check if You Have Permission to Access the URL)

If you’re trying to access a website which requires you to log in before you can see the content, then that might be causing the issue. Typically, servers are configured to show you an error letting you know you must be logged in to access the content.

如果您尝试访问的网站要求您先登录才能看到内容,则可能是造成此问题的原因。 通常,服务器配置为向您显示错误,使您知道必须登录才能访问内容。

But some improperly configured servers might throw a 403 error instead. Try to log into the website (if possible) and see if the error goes away.

但是某些配置不当的服务器可能会抛出403错误。 尝试登录网站(如果可能),然后查看错误是否消失。

稍后再试 (Try Again Later)

If none of the simple solutions we’ve talked about so far work, you can always wait a while and come back later. Since most of the time, 403 Errors are caused by issues with the website in question, it’s likely someone is already working on the problem.

如果到目前为止我们还没有讨论过任何简单的解决方案,但是您总是可以稍等片刻,然后再回来。 在大多数情况下,“ 403错误”是由相关网站的问题引起的,很可能有人已经在解决该问题。

联系网站 (Contact the Website)

Another option is to contact the website owner directly. Look up their contact information on the website and contact them about the page in question. If there is no contact form, you can try and reach the website on their social media.

另一种选择是直接与网站所有者联系。 在网站上查找他们的联系信息,并就有关页面与他们联系。 如果没有联系表,您可以尝试在其社交媒体上访问该网站。

联系您的ISP (Contact your ISP)

If you can confirm that the website in question is working for others but not for you, then it’s possible that the public IP address your ISP provided you (or your whole ISP) has been blocked for some reason. You can try contacting them and letting them know about the problem. It’s not a very likely solution, but they might be able to help.

如果您可以确认所讨论的网站正在为其他网站而不是为您服务,那么您的ISP提供给您(或您的整个ISP)的公共IP地址可能由于某种原因被阻止了。 您可以尝试与他们联系,并让他们知道问题所在。 这不是一个很可能的解决方案,但他们可能会提供帮助。

翻译自: https://www.howtogeek.com/357785/what-is-a-403-forbidden-error-and-how-can-i-fix-it/

http错误403 禁止

http错误403 禁止_什么是403禁止的错误(以及如何解决)?相关推荐

  1. MySQL返回多行错误怎么处理_结果包含多个行错误mysql

    我试图通过存储过程获得下一个可用的id,但到目前为止,我无法使其工作.这是我的存储过程 DELIMITER $$ USE `devt`$$ DROP PROCEDURE IF EXISTS `upda ...

  2. 在以下说法错误的是_关于犬麻醉常见的错误认知

    给你的狗进行麻醉听起来是一件很可怕的事,它到底有没有危险? 在兽医们看来,麻醉镇静剂对宠物的治疗起到了很大的帮助,毕竟,如果没有麻醉,手术是不可能完成的.为了使宠物能够配合医疗工作,我们别无选择,只能 ...

  3. 在以下说法错误的是_外行人对翡翠有哪些错误认知?行家给你最精准的答案

    玉石行业虽然在我们国家有着很悠久的历史!但是就行业认知而言,仍然属于小众行业. 正所谓隔行如隔山,在很多外行人眼里,翡翠行业很神秘,而且水也很"深"! 甚至很多人认为这个行业&qu ...

  4. 下列关于java集合说法错误的是_下列关于Spring的说法错误的是( )。

    [单选题]在Struts2开发中,添加JAR包时只需将其复制到Web项目的( )路径下即可. [单选题]在struts.xml中,假如在一个package中没有配置namespace,那么在其中配置一 ...

  5. 关于python语言下列说法错误的是_在Python中下列说法错误的是()

    在Python中下列说法错误的是() 答:Python语言只能用4个空格的缩进来实现程序的强制可读性 比赛中,运动员击出的球压在端线上,则判该运动员失分 答:× 虚证的症状表现是( ) 答:神疲乏力 ...

  6. Nginx 上搭建PHP站 更改目录出现的错误:File not found、403 forbidden (13: Permission denied)

    Nginx 上搭建PHP站 更改目录出现的错误:File not found.403 forbidden (13: Permission denied) 第一次用nginx搭建php站,安装的是cen ...

  7. 渗透技巧之403绕过_指纹识别

    403绕过清单 FFUF 路径模糊测试 ffuf -w 403_url_payloads.txt -u http://example.com/auth_pathFUZZ -fc 403,401,400 ...

  8. 网页显示403是什么意思 出现403 forbidden的原因有哪些

    一:403 forbidden是什么意思 403 forbidden是http返回的一个状态码,可以简单的理解没有权限访问网站,服务器接受了请求,但是拒绝执行它,表示资源不可用,404是一种常见的错误 ...

  9. WampServer 3 访问403 Forbidden You don't have permission to access this resource 解决

    大多数百度到的答案仅适用于WampServer3以下的版本,这里我介绍一种适用于WampServer3版本解决方案 问题:安装好WampServer3后无法通过公网IP进行访问,出现403 Forbi ...

最新文章

  1. 编制一个c语言成绩记录簿_C语言学到什么程度能写推箱子
  2. 07/11/08 资料整理
  3. Javascript 类型转换
  4. yelee主题修改博客左侧文章目录的按钮字体
  5. linux5.5 里dns,linux red hat 5.5 dns 问题求解
  6. AI软件制作莫比乌斯环
  7. IE6的3像素神奇bug:缘起与解决方案
  8. eureka多了一个莫名其妙的服务_这些手游服务器全部飘红,每一个服务器都人多到爆满...
  9. 多线程3,线程池封装库
  10. 从CVPR2019看计算机视觉的最新趋势
  11. 《Blender图解教程:新手入门练习》
  12. 第三方互联网支付的主要类型
  13. 软件工程之PERT图 (AOA与AON)
  14. 如何消除应急吸顶灯(楼道灯)的报警长鸣声
  15. 通灵股份在深交所上市:总市值增至约74亿元,预计全年增收不增利
  16. ChatGPT微信小程序
  17. 知名硅谷黑客当街被刺身亡!年仅43岁,马斯克都怒了
  18. 多元标量函数、矢量函数之间的关系
  19. 解决“不能读取 AppletViewer 的属性文件”的问题
  20. html语言可以写微信小程序吗,微信小程序 语句

热门文章

  1. 图像相减的matlab仿真及光栅滤波法,图像相减的MATLAB 仿真及光栅滤波法实验实现.doc...
  2. go模拟android浏览器,golang模拟点击浏览器
  3. hibetnate 的inverse属性的作用
  4. python三维数据转换成二维_Python = 48/365
  5. RabbitMQ的核心组成部分超详细
  6. 解决win10启动提示页面文件配置问题的故障
  7. mybits源码 Cannot find class: com.mysql.jdbc.Driver
  8. Windows Phone 7 - 获取本机号码?
  9. CGAL笔记之单元格复合体和多面体篇——多面体的 3D Minkowski 和
  10. 计算机毕业设计ssm糖果礼品销售系统rv0w0系统+程序+源码+lw+远程部署