Re: [squid-users] a config help

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 22 Feb 2008 00:14:42 +1300

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 - 04:14:20 MST

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