[squid-users] proxy.pac file problem

From: Raj <sunfire2005@dont-contact.us>
Date: Sat, 2 Sep 2006 12:11:18 +1000

Hi All,

I am running Version 2.5.STABLE10 on an Open BSD operating system. I
am having problems with proxy.pac file. I have the following proxy.pac
file.

 if (isInNet(myIpAddress(), "172.26.96.0", "255.255.240.0")) return "PROXY 172.
26.11.50:3128; PROXY 172.26.11.150:3128";

 if (isInNet(myIpAddress(), "172.26.112.0", "255.255.240.0")) return "PROXY 172
.26.11.150:3128; PROXY 172.26.11.50:3128";

 else
        return "PROXY 172.26.11.50:3128; PROXY 172.26.11.150:3128";
        return "PROXY 172.26.11.150:3128; PROXY 172.26.11.50:3128";

So when the proxy server 172.26.11.50 goes down, all the clients
failover to 172.26.11.150. But when the proxy server 172.26.11.150
goes down, clients are not failing over to 172.26.11.50.

Why is it failing over from 172.26.11.50 to 172.26.11.150 but not vice versa.
Could someone help me if there is any syntax error in my proxy.pac
file. I would really appreciate it.

Thanks.
Received on Fri Sep 01 2006 - 20:11:24 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT