Hi all: We use proxy.pac files for configuring both firefox
(v3.5x) and internet explorer (v8). This contents off our
proxy.pac file (for IT personnel) is below:

function FindProxyForURL(url, host)
{
// variable strings to return
//
var proxy_yes = "PROXY 10.1.1.19:8080";
var proxy_no = "DIRECT";
//
//
// Don't proxy local URLs
//
if (shExpMatch(url, "*localhost*")) { return proxy_no; }
if (shExpMatch(url, "*.xxxxxx.ad*")) { return proxy_no; }
if (shExpMatch(url, "*.yyyyyy.cxm*")) { return proxy_no; }
if (shExpMatch(url, "*://10.*")) { return proxy_no; }
if (shExpMatch(url, "ftp://*")) { return proxy_no; }
//
//
// Don't proxy these special internet sites
// Example: if (shExpMatch(url,
"http://www.otherwebsite.com*")) { return proxy_no; }
//
//
// Proxy if PC is on local LAN
//
if (isInNet(myIpAddress(), "10.1.0.0", "255.255.0.0"))
{ return proxy_yes; }
else if (isInNet(myIpAddress(), "10.2.0.0", "255.255.0.0"))
{ return proxy_yes; }
else if (isInNet(myIpAddress(), "10.3.0.0", "255.255.0.0"))
{ return proxy_yes; }
else { return proxy_no; }
}


I have no issues when using this file with firefox.
However, with IE the browser starts slowly (to load first
page) and on our two virtual machines (used for external
access) IE does not function at all.

Setting proxy manually in IE works fine so I am thinking
something is wrong with proxy.pac. I don't see anything
wrong here but could use a second or third pair of eyes.

Thanks, Chris.