I see the problem.

You want to allow *.ac.uk, but the problem is squidGuard doesn't
pattern-match from the RHS.

That is... adding ac.uk to your approved list will approve
        www.ac.uk
        www1.ac.uk
        ac.uk

but not www.something.ac.uk
        something.ac.uk
        etc.

My trick would be to not even use squidguard for the .ac.uk sites. 
Rather have something like this in your squid.conf.  I was going to do
the same for *.nz, because for us national traffic is charged at 1/10
the rate of international traffic.

acl acuksites dstdom_regex .*ac.uk
http_access allow acuksites
redirector_access deny acuksites

Thankee to plaz for the idea in the first place.






On Fri, 2002-09-20 at 02:05, [EMAIL PROTECTED] wrote:
> The idea is that everything is block apart from the uk accademic sites.
> 
> the domain file has
> 
> ac.uk
> 
> trying to go to www.mirror.ac.uk
> 
> fails
> 
> other domains in the domain file have the desired result
> 
> for example
> 
> nic.uk
> 
> woks fine when I go to www.nic.uk.
> 
> 
> the acl is something like this
> 
> 6fm     {pass
>          goodsites
>          !badsites
>          none
>          redirect...........}
> 
> none of the destinations shows an error in the log, so I am assuming that 
> it is passing right through and being blocked by the none clause.
> 
> I am running Squid 2.4STABLE1
> 
> This is very strange
> 
> 
> Rob
> 
> 
> At 09:23 19/09/02 -0400, you wrote:
> >I added:
> >
> >ac.uk
> >
> >to my domains file. I tried to go to www.ac.uk and it was blocked. What
> >exactly are you trying to do?
> >
> >John Yatsko, Jr.
> >Technology Assistant
> >Erie County Public Library
> >160 East Front St
> >Erie PA 16507
> >(814) 451-7307
> >
> >----- Original Message -----
> >From: <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, September 19, 2002 8:26 AM
> >Subject: two letter domains???
> >
> >
> > > I have just noticed this but if I have a domain in a domain list of ac.uk
> >(
> > > UK academic ) it does not seem to work.
> > >
> > > We are using it to allow restricted users access to university web sites,
> > > but it is not working.
> > >
> > > Anyone have any Ideas?
> > >
> > > Thanks
> > >
> > > Robin.
> > >
> > >
> 


Reply via email to