Discussion Locked

Squid.conf

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have configure squid in linux.
In the squid.conf file i have to give time restrictions.For a single interval of time the squid works perfectly.
How to give time for multiple interval of timings

for .e.g
acl n123 time 11:00-12:00

the above thing is working

but
acl n123 time 11:00-12:00 14:00-16:00
the above thing is not working..
how to overcome this

thanks in advance
regards
#nanda

6 replies

by ramil.israfilov

Hello Nanda!
try to use
acl n123 time 11:00-12:00
acl n456 time 14:00-16:00
acl client src 10.0.0.0/255.0.0.0
http_access allow client n123 n456

by ramil.israfilov

If it doesn't work I suggest to split last line to two ones:
http_access allow client n123
http_access allow client n456

This discussion is closed to new replies.