On 22/09/11 10:33, Andrew Beverley wrote:
Hi,

I would like to deny a request with http_access, but based on 2 ACLs. Is
there a way to do this?

The reason is that I want to produce a splash page, but only display it
between certain times. I was thinking something like:

http_access deny !new_users&&  correct_time

where new_users and correct_time are ACLs. However, I don't think that's
possible.

Is there are way to achieve it?

Yes.
 http://wiki.squid-cache.org/SquidFaq/SquidAcl#And.2BAC8-Or_logic

also
 http://wiki.squid-cache.org/SquidFaq/OrderIsImportant

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.15
  Beta testers wanted for 3.2.0.12

Reply via email to