由网友(初心未变)分享简介:看来,Squid代理莫名其妙地记得 403禁止回应并记住它,即使你重装这已经是访问的页面。重现步骤:把一些限制为.htaccess(如所有拒绝)。打开浏览器,通过squid代理,错误403出现连接。从的.htaccess解除限制。重新载入页面 - 错误403仍然是present 解决方案 看的 negative_t...
看来,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 (likedeny 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.
相关推荐
最新文章