紫禁城403 - 缓存鱿鱼代理? [英] Forbidden 403 - cached in squid proxy?

查看:192
本文介绍了紫禁城403 - 缓存鱿鱼代理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看来,Squid代理莫名其妙地记得 403禁止回应并记住它,即使你重装这已经是访问的页面。

重现步骤:

  1. 把一些限制为.htaccess(如所有拒绝)。打开浏览器,通过squid代理,错误403出现连接。
  2. 从的.htaccess解除限制。
  3. 重新载入页面 - 错误403仍然是present
解决方案

看的 negative_ttl 的参数。

It seems that squid proxy somehow remembers the 403 Forbidden response and remembers it even if you reload the page which is already accessible.

Steps to reproduce:

  1. Put some restriction to .htaccess (like deny from all). Open in browser, connected via squid proxy, error 403 appears.
  2. Remove the restriction from .htaccess.
  3. Reload the page - the error 403 is still present!

解决方案

Look at negative_ttl parameter.

这篇关于紫禁城403 - 缓存鱿鱼代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆