Search squid archive

proxy.pac file problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux