[squid-users] Re: Multiple Destinations

From: Sketch <sketchster@dont-contact.us>
Date: Thu, 20 Apr 2006 06:18:21 -0700

> See my first reply under the "More efficient method" heading.
>
> http://www.squid-cache.org/mail-archive/squid-users/200604/0245.html

Gotcha! Thanks.

I've managed to get this setup and routing fine, however I want to
verify that cache_peer should be setup like:

cache_peer 192.168.5.150 parent 80 0 no-query
cache_peer 192.168.5.151 parent 80 0 no-query

Also, one of those interfaces uses Host Based Virtual Hosts, which
works. The problem comes in when a 302 code is returned. For
example: my site: sketch.com returns a 302 with the Location: header
of "http://www.sketch.com". Squid doesn't handle this properly and
tries to redirect to "http://www.sketch.comhttp//sketch.com".

It takes my original request and appends it with colon stripped to the
Location: value from the 302 response.

I've googled this extensively and cannot find any hints.

Any ideas?

Thanks for all your help!
Received on Thu Apr 20 2006 - 07:18:23 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT