Re: [squid-users] a config help

From: J. Peng <peng.kyo@dont-contact.us>
Date: Thu, 21 Feb 2008 22:02:32 +0800

Thank you so much Amos.

On Thu, Feb 21, 2008 at 7:14 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>
> J. Peng wrote:
> > Hello,
> >
> > My squid hosts have an original server. When the original server get
> > down, it will use other siblings for sources.
> > this is my config section, is it right? please help,thanks.
> >
> >
> > nonhierarchical_direct off
> > prefer_direct on
> >
> > cache_peer 192.168.1.1 parent 80 0 no-query originserver name=WWW
> > cache_peer 192.168.1.2 sibling 80 0 no-query name=WWW
> > cache_peer 192.168.1.3 sibling 80 0 no-query name=WWW
> >
> > acl service_www dstdomain www.site.com blog.site.com forum.site.com
> > cache_peer_access WWW allow service_www
>
> name= MUST be unique for each peer.
> With matching cache_peer_access for each name=
>
> Otherwise this is correct.
>
> Amos
> --
> Please use Squid 2.6STABLE17+ or 3.0STABLE1+
> There are serious security advisories out on all earlier releases.
>
Received on Thu Feb 21 2008 - 07:02:40 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST