Re: [squid-users] cache hierarchy and reverse proxy

From: Sketch <sketchster@dont-contact.us>
Date: Sat, 13 May 2006 07:04:39 -0400

On 5/10/06, Chris Robertson <crobertson@gci.net> wrote:
> Sketch wrote:
>
> > Hi Folks,
> >
> > I currently have squid pathed with rproxy and passing traffic to
> > origin servers, however I am unable to figure out how to now set up a
> > hierarchy. Basically I want a sibling relationship, I've defined the
> > cache_peers, I've set cache_peer_access based of dst eqauling the
> > interface that the icp_port is on, however as you can probably guess,
> > no traffic hits that peer. It all goes to the origin server which
> > uses a myip acl (different ip then the icp_port).
> >
> > Any helpful clues?
> >
> First a disclaimer: I don't run any proxies in accelerator mode. Take
> my advice with the requisite skepticism.

You should :P

> It sounds like none of the requests are destined for the icp port
> interface (after all, that's not where the web page is located at),
> therefore none of the requests will be passed to the sibling. I would
> think that as long as you have defined the other caches as siblings and
> the origin servers as parents, then allowing all access to be passed to
> the siblings (cache_peer_access sibling.proxy.net allow all), should
> allow cached requests to be served by the siblings and should send
> requests for non-cached content to the origin servers.

Worked like a charm!

Thanks!
Received on Sat May 13 2006 - 05:04:42 MDT

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