Salut, Henrik Nordstrom ! On Mon, 27 Jan 2003, Henrik Nordstrom wrote:
> On Sunday 26 January 2003 09.29, ���� ������� wrote: > > > I don't want certain objects to be cached (even if were previously > > cached!) so I tried two combinations of "no_cache" > > > > 1) acl QUERY urlpath_regex cgi-bin \? > > acl DrWeb urlpath_regex drweb > > no_cache deny QUERY > > no_cache deny DrWeb > > > This one is correct use of no_cache for denying multiple difference > things from beeing cached. so, just curious... when I specify multiple ACLs within just one "no_cache" or whatever else directive - "AND" logic is applied ? It was not so clear for, maybe I didn't read documenttion well, but I was not sure wether there's "OR" or "AND" logic. > > But your definition of DrWeb looks odd.. see the acl type descriptions > in squid.conf.default. I do not think urlpath_regex is what you want > there.. (the URLs you posted did not have drweb in their URL paths..) ?? ftp://ftp.drweb.ru/pub/updates/free/windows<bla-blah-blah> actually, I'd block from cacheing URLs like "http://drweb.csu.ru/**" and "ftp://ftp.drweb.ru/**", both of them contain "drweb" > > Regards > Henrik > Regards, (��������� ���������) Ilia Chipitsine (���� �������)
