Henrik Nordstrom wrote:
>On tis, 2007-07-31 at 14:29 +0200, Enrico Popp wrote:
>
>
>
>>I have an problem. In my company we use 2different urls. I.e.
>>www.bla.org and www.bli.org. But after the urlstring the querystrings
>>are the same. Squid saved an object twice, if it is from www.bli.org and
>>www.bla.org with the same querystring. I'm sure this could be avoided.
>>My idea is to rewrite one url into another. I have read the squidGuard
>>help, but i can't find out any solution. Can squidGuard do this? Or any
>>other Idea?
>>
>>
>
>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 ?
And i it is possible, where this script gets the input?
The reason why i would do this, is because i will avoid to save the same
object twice.
regards Enrico
Received on Wed Aug 01 2007 - 02:26:52 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT