[squid-users] Proxy.pac

From: Mauro <[email protected]>
Date: Wed, 28 May 2003 16:09:37 +0200

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
Received on Wed May 28 2003 - 08:08:58 MDT

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