> The time acl is an exception that you can only list a single time
per
> line, but you can still list multiple lines.
That I did not know - thanks for the correction.
Adam
On Fri, 19 Sep 2003, Payal Rathod wrote:
> Wowww! I thought that three acls by the same name might create a
> problem.
Not as long as you always stuff the same type of content into the acl.
For most ACLs you can list as many things as you want to match on the same
line, or on multiple lines.
T
>> Then replace lunchbreak with the following
>>
>> acl coffeebreak time 09:00-10:00
>> acl coffeebreak time 13:00-14:00
>> acl coffeebreak time 18:00-19:00
>
> Wowww! I thought that three acls by the same name might
> create a problem.
No, all it does is combine them - just as if you did:
acl
On Fri, Sep 19, 2003 at 02:14:49PM +0200, Henrik Nordstrom wrote:
> On Fri, 19 Sep 2003, Payal Rathod wrote:
>
> > What if I have to allow from time 09:00-10:00 and 6:00-07:00 too with
> > lunchbreak?
> >
> > I mean the users can access hotmail, yahoo in the abvoe 3 hours only.
>
> Then replace
On Fri, 19 Sep 2003, Payal Rathod wrote:
> What if I have to allow from time 09:00-10:00 and 6:00-07:00 too with
> lunchbreak?
>
> I mean the users can access hotmail, yahoo in the abvoe 3 hours only.
Then replace lunchbreak with the following
acl coffeebreak time 09:00-10:00
acl coffeebreak ti
On Thu, Sep 18, 2003 at 03:28:27PM +0200, Henrik Nordstrom wrote:
acl my_network src 192.168.10.0/24 ...
[...]
Thanks for the mail. It worksbeautifully. Just one small question below.
> acl webmail dstdomain .yahoo.com .hotmail.com
> acl lunchbreak time 13:00-14:00
> http_access deny !lunchbreak
On Thu, 18 Sep 2003, Payal Rathod wrote:
> Hi,
> I am at a loss to configure squid acl meeting the following
> requirements.
>
> 1. All clients must have internet access throughout the day.
acl my_network src 192.168.10.0/24 ...
[used below]
> 2. Clients 192.168.10.1, 192.168.10.2, 192.168.10.
> I am at a loss to configure squid acl meeting the following
> requirements.
There is a Squid FAQ on how acl and http_access logic works; read that
if you haven't already.
You'll need src, time, and dstdomain acls to get this to work, and
you'll need to order them in http_acces properly. More in