Search squid archive

Re: replace gif with local gif

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

 



You should talk to whoever looks after jesred.

But basically, you want to write a URL rewrite helper which does something like:

#!/usr/bin/perl -w

use strict

# I think this means "line-buffered" .. :)
$| = 1;

while (<>) {
    s/http:\/\/www.google.com/logo.gif/http:\/\/www.yoursite.com/image.png/;
    print;
}


Adrian


2008/7/18 Wesley MOUEDINE ASSABY <wesley-m@xxxxxxxxxx>:
> Hello,
>
> I va installed squid 2.6 on a machine (openbsd 4.3) , i ve also installed :
> jesred 1.2.1
> The proxy cache works well. What i want : when a user use for example
> google.fr, it replaces gif images with our logo (logo.gif)
> Someone can help me please ?
> thank's

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

  Powered by Linux