The simplest way of doing this would be to create an acl for your black list
something like acl blocked /<path to file> and then put an http_access deny
blocked near the top of the access rules. However, if your blacklist is
very long, you will find that squid starts running slower and takes more
memory as it has to load the list into memory. The nice thing about
squidguard is that you convert the list to db files first and it accesses
those much quicker.
Regards
Mark.
P.S. If you include the squid-users@squid-cache.org when you reply, the
thread will appear nicely on the mailing lists and may help others with
similar problems.
> -----Original Message-----
> From: Steve Billig [mailto:unknownboogyman@gmail.com]
> Sent: 25 February 2008 17:05
> To: Mark Barlow
> Subject: Re: [squid-users] Redirection
>
> Well I uninstalled SquidGuard to try to install a newer version, but
> every time I try to use the command make or make install, those
> commands don't work now. What I want do to is make it so that when
> people try to go to a website, it just redirects. Now on the older
> version I made my own blacklist, my own URL file and etc. but it
> didn't work correctly.
>
> On Mon, Feb 25, 2008 at 4:04 AM, Mark Barlow
> <squid.users.mailing.list@googlemail.com> wrote:
> > What exactly is your question? When using SquidGuard for instance after
> > processing it's own rules Squid passes the requests through SquidGuard
> > which, enables you to write access rules and used black/white lists
> much
> > more efficiently that by including them in the squid.conf What exactly
> are
> > you trying to achieve? Also, what version of Squid are you using,
> Squid 2.6
> > refers to the redirector tag, Squid 3 uses url_rewrite tag.
> >
> > Mark.
> >
> >
> >
> > > -----Original Message-----
> > > From: Steve Billig [mailto:unknownboogyman@gmail.com]
> > > Sent: 25 February 2008 01:21
> > > To: squid-users@squid-cache.org
> > > Subject: [squid-users] Redirection
> > >
> > > Now I know you are able to redirect websites to others with squid,
> but
> > > how. I read up on like Squid Guard, but that did not help at all.
> > >
> > > --
> > > -Steve
> >
> >
>
>
>
> --
> -Steve
Received on Tue Feb 26 2008 - 02:18:21 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST