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
This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT