[squid-users] prevent 301 sites to be cached

From: Carsten Bachert <bachert_at_bachert.info>
Date: Tue, 20 Jan 2009 13:07:55 -0000 (UTC)

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?

Is "acl aclname http_status 200 301 302..." correct? Or should it be
"acl http_status 200 301 302"?

Thanks in advance,

CaBa
Received on Tue Jan 20 2009 - 13:08:07 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 20 2009 - 12:00:07 MST