On Tue, Apr 6, 2010 at 4:21 PM, Walubengo J
<jwalu@yahoo.com> wrote:
Am under some pressure to avail facebook during lunch time (1:00-2:00pm) and after working hours (possibly 5:00pm-7:00am). |
Could someone give me the rule and where to punch it in under /etc/dansguardian/? or maybe /etc/squid?
|
Hi Walu,
Something like this will do for your case, for squid.conf:
acl TIMELunch time MTWHF 12:59-13:59
acl TIMEafterhoursAFT time MTWHF 17:00-24:00
acl TIMEafterhoursMORN time MTWHF 00:00-09:00
http_access allow TIMEWASTAGESITE TIMElunch
http_access allow TIMEWASTAGESITE TIMEafterhoursAFT
http_access allow TIMEWASTAGESITE TIMEafterhoursMORN
http_access deny TIMEWASTAGESITE
http_access allow
--