On ons, 2007-08-01 at 10:17 +0200, Enrico Popp wrote: > >A two-line perl program would do just fine. > > > >#!/usr/bin/perl -p > >BEGIN {$|=1;} > >s%^http://www.bli.org%http://www.bla.org% && next > > > >Regards > >Henrik > > > > > And now can i include this into squid with > url_rewrite_program /path to script ? Yes. > And i it is possible, where this script gets the input? The script gets it's input on standard input / stdin, from Squid. Regards Henrik
Attachment:
signature.asc
Description: This is a digitally signed message part