Search squid archive

Re: Problems with Cacheobject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux