In the acl section, change:
number1 {
pass ok !ad ok-for-number1
}
to
number1 {
pass ok-for-number1 none
}
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of sasa
> Sent: Wednesday, March 09, 2005 6:05 PM
> To: C. Falconer
> Cc: [email protected]
> Subject: Re: src ip and web site
>
>
> "C. Falconer" wrote:
>
> >A destination list contains domain names and urls... The
> lines at the
> >bottom control whether the client is allowed or is not allowed.
> >
> >For example
> >
> >client1 {
> >pass ok ok1 !ok2 all
> > }
>
> ..I have configured squidguard.conf in this mode:
>
> dbhome /var/lib/squidguard
> logdir /var/log/squidguard
>
> destination ok {
> domainlist ok/domains
> urllist ok/urls
> }
>
> destination ok-for-number1 {
> domainlist ok1/domains
> urllist ok1/urls
> }
>
> destination ad {
> domainlist ad/domains
> urllist ad/urls
> }
>
> source admin { ip 10.0.0.16 }
> source noaccess { ip 192.168.1.1-192.168.1.20 }
> source number1 { ip 10.0.0.15 }
>
> acl {
> noaccess {
> pass none
> }
>
> number1 {
> pass ok !ad ok-for-number1
> }
>
> admin {
> pass !ad all
> }
>
> default {
> pass none
> }
> }
>
> and in the /ok/domains:
> www.onesite.com
>
> and in the /ok/urls
> www.onesite.com
>
> and in the /ok1/domains:
> www.secondsite.com
>
> and in the /ok1/urls
> www.secondsite.com
>
> .. but I view all web site, nothig site is blocked !
> why ??
> still thanks.
> Salvatore.