Ugh,
My mistake. It works!
I forgot to set the permission of the db files to squid.

Merci beaucoup a vous.
Fajar.

On Tuesday 18 October 2005 14:44, Arnaud FLORENT wrote:
> you just have to define dest whitelist and change your default acl to
> pass whitelist none
> other acls won't block (pass all except porn)
>
> Fajar Priyanto a écrit :
> >Hi all,
> >I have this conf:
> >
> >dbhome /var/lib/squidguard/db
> >logdir /var/log/squidguard/
> >
> >time workhours {
> >        weekly mtwhf 07:00 - 09:00 12:00 - 13:00 16:00 - 18:00 }
> >
> >src staffs {
> >        ip      192.168.1.5
> >        ip      192.168.1.14 }
> >
> >src bosses {
> >     ip      192.168.1.100
> >     ip      192.168.1.101 }
> >
> >dest porn {
> >    domainlist porn/domains
> >    urllist porn/urls
> >    expressionlist  porn/expressions }
> >
> >acl {
> >        bosses {
> >                pass !porn all
> >                redirect http://localhost/sorry.html }
> >
> >        staffs within workhours {
> >                pass !porn all
> >                redirect http://localhost/sorry.html }
> >
> >     default {
> >                pass     none
> >                redirect http://localhost/sorry-time.html }
> >}
> >
> >With the above acl, we are able to limit the staffs src group to browse
> > the internet during the permitted hours only.
> >
> >QUESTION:
> >We want to make some urls to be AVAILABLE for all user either in workhours
> > or offhours. For example, we want to ALLOW users to be able to open
> >www.yahoo.com, gmail.google.com
> >
> >Can anyone give me some hints here?
> >Thank you very much,

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
15:31:12 up 7:29, 2.6.11-1.1369_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Reply via email to