Found the answer to the problem here:
http://www.zip.com.au/~cs/adzap/#chaining
Regards,
Adam
On Wed, 2002-06-05 at 19:57, Mr. Adam ALLEN. wrote:
> I am currently using squidGuard, however the company has requested a few
> enhancements that require me to redesign things a little.
>
> What I need to do is something as well as squidGuard.
>
> My initial thoughts on tackling this problem is to use the code as the
> basis from the squid FAQ.
> #!/usr/local/bin/perl
> $|=1;
> while (<>) {
> .....
> }
>
> The bit of knowledge I am missing, is how to execute squidGuard away
> from squid. I guess squid runs five processes of squidGuard for reasons
> of efficiency.
>
> Secondly, how do I then communicate with squidGuard from within the perl
> script. I don't want to execute a new instance of squidGuard for every
> request, but use one of the existing processes.
>
> Any answers (direct) or resources so that I can get more information so
> that I can get on and solve this problem.
>
>
> Regards,
> Adam.