Re: [squid-users] Apache::Gateway emulation?

From: Robert Collins <robertc@dont-contact.us>
Date: 03 Oct 2002 08:35:26 +1000

On Thu, 2002-10-03 at 08:27, Florin Andrei wrote:

> <A HREF="https://gateway/?url=http://server/dir/image.png">
>
> Otherwise pages will not have images!
>
> To my best knowledge, this cannot be accomplished with Squid, but
> perhaps you can prove me wrong?

In squid 2.6 there is a thing called clientStreams. See the
http://devel.squid-cache.org/projects.html#esi patch for a sample of how
to use them. You need to write a small stream node that will insert the
appropriate prefix on URL's.

Alternatively the squid-iCAP project has an iCAP client for squid and a
python iCAP server framework that you could use to write such a
parser+rewriter.

So yes, can be done.

Rob

Received on Wed Oct 02 2002 - 16:34:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:34 MST