Re: [squid-users] Proxy.pac

From: Schelstraete Bart <bart@dont-contact.us>
Date: Wed, 28 May 2003 18:06:52 +0200

Mauro wrote:

>I've a proxy.pac which is like this
>function FindProxyForURL(url, host)
> {
> // controllo se viene inserito un host non appartente a nessun Dominio
> if (isPlainHostName(host) || ....................
> ...............................................................
> // se vengono soddisfatte le if sopra vado diretto (no proxy)
> return "DIRECT";
> else
> return "PROXY xx.xx.xx.5:3128; PROXY xx.xx.xx.1:3128; DIRECT";
> }
>I though that the second Proxy could be used as backup in case the primary
>was down....but analyzing the backup logs I've discovered that it works as
>well, also if the primary is up ???!!!!!
>Is this a sort of proxy balancing ??????(is the cgi so cleaver!!!!).
>Any idea about that.....
>Ciao
>
Marco,

proxy.pac is only failover, no load balancing

       Bart
Received on Wed May 28 2003 - 10:07:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:06 MST