Results 1 to 1 of 1
Hi all..
i installed 2 squid proxy server..
proxy-a and proxy-b and use proxy.pac to make this 2 server redundant.
my problem is.. its takes too long (about 10-15 minute ...
- 01-03-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 1
Squid Proxy Server + Proxy.pac
Hi all..
i installed 2 squid proxy server..
proxy-a and proxy-b and use proxy.pac to make this 2 server redundant.
my problem is.. its takes too long (about 10-15 minute to change from proxy-a to proxy-b when proxy-a is down) . proxy-a is the default server that proxy.pac will connect..
my proxy.pac file is like this :
anybody can help??Code:function FindProxyForURL(url, host) { // our local URLs from the domains below example.com don't need a proxy: if (shExpMatch(url,"*.iwan.com/*")) {return "DIRECT";} if (shExpMatch(url, "*.iwan.com:*/*")) {return "DIRECT";} // All other requests go through port 8080 of proxy.example.com. // should that fail to respond, go directly to the WWW: return "PROXY 192.168.1.5:3128; PROXY 192.168.1.6:3128"; }
thanks in advance..


Reply With Quote