紫禁城403 - 缓存鱿鱼代理? [英] Forbidden 403 - cached in squid proxy?
本文介绍了紫禁城403 - 缓存鱿鱼代理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
看来,Squid代理莫名其妙地记得 403禁止
回应并记住它,即使你重装这已经是访问的页面。
重现步骤:
- 把一些限制为.htaccess(如
所有拒绝
)。打开浏览器,通过squid代理,错误403出现连接。 - 从的.htaccess解除限制。
- 重新载入页面 - 错误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:
- Put some restriction to .htaccess (like
deny from all
). Open in browser, connected via squid proxy, error 403 appears. - Remove the restriction from .htaccess.
- Reload the page - the error 403 is still present!
解决方案
Look at negative_ttl parameter.
这篇关于紫禁城403 - 缓存鱿鱼代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文