Search squid archive

prevent 301 sites to be cached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux