Re: [squid-users] Re: squid and multiple redirectors

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 10 Jul 2007 00:48:17 +0200

mÃĨn 2007-07-09 klockan 16:32 +0100 skrev RW:
> Jeff Pang wrote:
>
> > 2007/7/8, Dave <dmehler26@woh.rr.com>:
> >> Hello,
> >> I'm running squid 2.6 and need to run several redirectors, one for
> >> banner filtering, another for av, and a possible third for chat blocking
> >> if there is one? I read about a shell script:
> >>
> >> #!/bin/sh
> >>
> >> /path/to/redirector1 | /path/to/redirector2
> >
> > This is bad way.Using pipe is expensive at most time.
>
> More importantly it wouldn't work as expected, as redirectors return a blank
> line to indicate the URL is unmodified.

Posted a perl script on the list some year ago or so for chaining
redirectors using Open2().

Regards
Henrik

Received on Mon Jul 09 2007 - 16:48:22 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT