mån 2007-07-09 klockan 16:32 +0100 skrev RW: > Jeff Pang wrote: > > > 2007/7/8, Dave <dmehler26@xxxxxxxxxx>: > >> 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
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel