parent weighting

From: Robert Dahlem <Robert.Dahlem@dont-contact.us>
Date: Fri, 18 Dec 1998 16:13:20 +0100

On Thu, 17 Dec 1998 18:47:19 +0000, rstagg@csc.com wrote:

>jeffb@netc.com on 17/12/98 16:35:38
>
>To: Richard Stagg/TMU/CSC
>cc:
>Subject: Re: SSL handling with Squid 2
>
>Easy one.
>cache_peer parent-1 parenthost 3128 3130 weight=99
>cache_peer parent-2 backuphost 3128 3130 weight=1
>cache_peer parent-ssl sslhost ...
>acl all src 0.0.0.0/0.0.0.0
>acl CONNECT method CONNECT
>cache_peer_acl parent-ssl CONNECT
>cache_peer_acl parent-ssl !all
>cache_peer_acl parent-1 !CONNECT
>cache_peer_acl parent-2 !CONNECT
>(The weight options tell it to pretty much always use parent-1 unless
>parent-1 is down)

Did you get this to work?

I tried

        cache_peer not.working.parent 81 0 no-query weight=99
        cache_peer good.working.parent 81 0 no-query weight=1

but all I get is "connection refused" pages.

Hasta la vista,
               Robert
Received on Fri Dec 18 1998 - 08:23:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:41 MST