Search squid archive

Re: 2 redirector programs Squidguard and ClamavRedirector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/10/06, Alban Coujard <acoujard@xxxxxxxxxxx> 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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux