Chris Robertson schrieb:
Carsten Bachert wrote:
Hi all,
I use squid as revers proxy to server web pages.
Therefore I want to disable 301 sites to be cached.
My rule is:
acl stat301 http_status 301
cache deny stat301
//some lines deeper
acl aclname http_status 200 301 302 500- 400-403 ... #
status
code in reply
I mention 301 sites are cached. So why does "cache deny stat301" does
not
work properly?
Hi,
ok., think it is solved now. The second acl has been uncommented by someone
and is not needed. The first part works well.
acl stat301 http_status 301
cache deny stat301
The fault has been on a second cache, which is located in front of the
site. My mistake was, not to
look in the access log. I only checked the headers and did not mention,
that there is
another cache (content engine) between. Once this cache has been purged,
all is working fine.
Thanks for your help.
Carsten