Re: [squid-users] 2 redirector programs Squidguard and ClamavRedirector

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Tue, 10 Jan 2006 17:27:25 +0100

On 1/10/06, Alban Coujard <acoujard@cogelis.com> wrote:
> Hello
>
> I hope I'm using the correct forum for this question. Please correct me if
> I'm not.
> And Sorry if I ask a question which his already was resolve.
>
> I would like to use 2 redirector programs Squidguard and ClamavRedirector
>
> I can easily use 1 redirector program. Just SquidGuard it's OK or just
> ClamavRedirecto it's OK.
>
> I see on the ML archive
>
> >
> > I would like to use two redirect_programs with squid.
> > 1. Clamav virus scan
> > 2. SquidGuard
> >
> > I have squidguard running fine now. Is there any way for me to include a
> > second such as clamav antivirus?
> >
>
>
> > #!/bin/sh
> >
> > /path/to/redirector1 |/path/to/redirector2
> >
>
> > Use this script as your redirector.
>
>
> I Do this:
>
> /etc/squid/redirector.sh
>
> #!/bin/sh
>
> /usr/local/bin/SquidClamAV_Redirector.py -c
> /etc/squid/SquidClamAV_Redirector.conf|/usr/bin/squidGuard -c
> /etc/squid/squidGuard.conf
>
>
> /etc/squid/squid.conf
>
> redirect_program /usr/local/bin/SquidClamAV_Redirector.py -c
> /etc/squid/SquidClamAV_Redirector.conf|/usr/bin/squidGuard -c
> /etc/squid/squidGuard.conf

  The idea is that then the redirector directive in squid.conf
would look like :

redirect_program /etc/squid/redirector.sh

> redirector_access deny localhost
> http_reply_access allow all
>

  - Why do you put these 2 commands in squid.conf ?

  - Check cache.log for errors if redirector problems persist.

  M.
Received on Tue Jan 10 2006 - 09:27:26 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST