Re: [squid-users] deny_info doesn't work

From: galle <[email protected]>
Date: Tue, 29 Jun 2004 12:41:27 -0300

Deny_info matchs with the last acl in the http_access line
here:
http_access deny porn all
it matches with all
you must use:
http_access deny all porn
and it will match with porn

salu2
Diego Amadey
(From Argentine)

----- Original Message -----
From: Michael Gale <michael.gale@utilitran.com>
To: <squid-users@squid-cache.org>
Sent: Monday, June 28, 2004 1:54 PM
Subject: Re: [squid-users] deny_info doesn't work

> Hello,
>
> Have you tried debugging your access rules to make sure that it is the
"porn"
> rule that is blocking the traffic ??
>
> Michael.
>
>
> On Mon, 28 Jun 2004 17:09:27 +0800 (CST)
> Abdur Rahmaan <techylist@yahoo.com.sg> wrote:
>
> >
> > > > my squid.conf looks like below:
> > > >
> > > > acl porn url_regex -i
> > > > "/usr/local/squid/etc/porn.txt"
> > > > acl noporn url_regex -i
> > > > "/usr/local/squid/etc/noporn.txt"
> > > >
> > > > deny_info ERR_PORN porn
> > > >
> > > > http_access allow noporn all
> > > > http_access deny porn all
> > >
> > > Are you sure the pages (ERR_PORN) are found in the
> > > $error_directory?
> > > Looks okay otherwise.
> >
> > Yes I put my ERR_PORN in
> > /usr/local/squid/share/errors/English
> >
> > I have a lot of http_access everywhere in
> > squid.conf... I am reading mail-archive about
> > deny_info and redirector, and Henrik said something
> > about deny_info matchs to http_access...
> > Is it about this ?
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Log on to Messenger with your mobile phone!
> > http://sg.messenger.yahoo.com
> >
> >
> >
> >
>
>
> --
> Michael Gale
> Network Administrator
> Utilitran Corporation
>
Received on Tue Jun 29 2004 - 09:41:58 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:03 MDT