RE: [squid-users] child/parent cluster http 302 redirect query

From: Danny Hallwood <Danny.Hallwood@dont-contact.us>
Date: Tue, 8 Mar 2005 13:29:54 -0000

Thanks Henrik,

The solution is for reverse proxy. The key to making this solution work
is to ensure the child squid does not proxy the data stream from 'best
capable' Parent to end-user browser.

Could you hazard a guess as to how much effort would be required to
transpose an ICP return into a HTTP 302 redirect message back to the
client?

We have a development team in house, however I'm pretty sure squid
source is not something they are au'fait with.

Thanks,
Danny

Danny Hallwood
 
-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: 08 March 2005 12:43
To: Danny Hallwood
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] child/parent cluster http 302 redirect query

On Tue, 8 Mar 2005, Danny Hallwood wrote:

> I would like to know if it's possible to configure a child squid to
> query parents using ICP, as standard, but to return a HTTP 302
> redirect to the end user browser with the URL for the preferred
> parent.

No. URLs indicate the location and name of the object to fetch, not the
path how to get to the object.

> The driver behind this is to develop a high bandwidth content delivery
> network. Serving more data/bandwidth than any one box could proxy. I
> would like to build the below architecture.

Ok. Sounds like a reverse proxy setup, not a normal setup?

If it is a reverse proxy setup then returning redirects as you describe
is
feasible, but some coding is required to implement the function in
Squid.

Regards
Henrik
Received on Tue Mar 08 2005 - 06:32:10 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST