Hello all,

I have a proxy.pac problem. The proxy.pac file I am posting was
created by
a consultant of ours. For the most part, it works. However, any webaddress (ip or url) that is requested, that is local to our subnet
(172.16.x.x/12) does not come back properly. Thing just do not work
right.

I do not want to use the proxy for local web servers. I do not
understand
JAVA enough to know what the heck is going on here.

When I put the proxy server in the the actual "Proxy server" as
172.20.0.1:8080, everything works. Just the automatic configuration
script
doesn't.

Am I missing something?

Thanks for your help. Tom

function FindProxyForURL(url, host)
{
if (shExpMatch(url,"http://windowsupdate.microsoft.com/*"))
{ return "DIRECT"; }

if (shExpMatch(url,"http://v4.windowsupdate.microsoft.com/*"))
{ return "DIRECT"; }

if (shExpMatch(url,"http://*.windowsupdate.microsoft.com/*"))
{ return "DIRECT"; }

if (shExpMatch(url,"http://download.microsoft.com/*"))
{ return "DIRECT"; }

if (shExpMatch(url,"http://*.csd.k12.wi.us"))
{ return "DIRECT"; }

if (dnsDomainIs(host, "sirs.com"))
{ return "DIRECT"; }

if (dnsDomainIs(host, "sodaplay.com"))
{ return "DIRECT"; }

if (isInNet(host, "172.16.0.0", "255.240.0.0"))
{ return "DIRECT"; }

if (url.substring(0,5) == "http:")
{ return "PROXY 172.20.0.1:8080"; }
else if (url.substring(0,4) == "ftp:")
{ return "PROXY 172.20.0.1:8080"; }
else
{ return "DIRECT"; }
}