Amos, One thing I missed out in this was to tell I already had, http_access allow our_network work_hours I understand that, http_access deny our_network !work_hours will also work, but then why mine is not working? ~~~~~~~~~~~~~~~~~~~ Thanks & Regards, Sameer Shinde. Sr. Customer Support Engineer, Email:- s2sameer@xxxxxxxxxxx M:- +91 98204 61580 http://www.geocities.com/s9sameer If everyone is thinking alike, then somebody isn't thinking. > Date: Thu, 11 Dec 2008 01:02:54 +1300 > From: squid3@xxxxxxxxxxxxx > To: s2sameer@xxxxxxxxxxx > CC: squid-users@xxxxxxxxxxxxxxx > Subject: Re: time restrictions in squid3 > > Sameer Shinde wrote: >> Hi All, >> >> I'm using squid3.0 stable1 on my ubuntu 8.0.4 server along with squidGuard1.3 for blocking. >> I want to puu the time restrictions for the users, for that I addup the rule as follows in my squid.conf >> >> acl work_hrs time M T W H F A 09:00-17:00 >> acl our_network work_hours >> >> but still I found that the users can use the net beyond this time slot. >> How can I enable the time restrictions for the users. >> (This happens with/without squidguard and squidguard is no way related to it.) >> >> Now one thing I've observed is that, all my users in network are having GMT+5.30 time. >> Even my squid server is having the same time as of my network. i.e GMT+5.30 >> but the squid error logs shows me only GMT. Now I know that, squid by default shows the GMT >> & not any other time in default logs. But then is this a problem for me to apply the restrictions. >> >> In this case How can I resolve this problem. > > You need to use http_access to block the requests. > > acl work_hrs time M T W H F A 09:00-17:00 > http_access deny our_network !work_hours > > > Amos > -- > Please be using > Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10 > Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1 _________________________________________________________________ You live life online. So we put Windows on the web. http://clk.atdmt.com/MRT/go/127032869/direct/01/