Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wpad.dat and IE8 problem

111 views
Skip to first unread message

Awrightus

unread,
Dec 11, 2009, 6:57:58 PM12/11/09
to
Having a problem with the following wpad.dat. It's working perfectly
with Firefox 3.5.5, but IE8 not quite. IE8 is only honoring the
'else' statement and is proxying everything. It seems to be ignoring
the first if statement and the following else if. If I browse to
http://192.168.1.x or http://www.local.tld or simply use a non-fqdn
host, they're all hitting the proxy, where they shouldn't be based on
the first two if statements. Again, it's working perfectly w/
Firefox. Any ideas?

function FindProxyForURL(url, host)
{
if (isPlainHostName(host) || dnsDomainIs(host, "local.tld") ||
shExpMatch(host,"192.168.1.*"))
{
return "DIRECT";
}
else if (shExpMatch(host,"*.nflximg.com"))
{
return "DIRECT";
}
else
{
return "PROXY 192.168.1.3:3128";
}
}

rob^_^

unread,
Dec 12, 2009, 1:25:09 PM12/12/09
to
Hi,

IE8 has an internal list of tld's - res://urlmon.dll/ietldlist.xml

Make sure your conical names are well formed (don't use 2 character domain
names?[X])

I think also in IE8's Security Settings, Intranet Zone, you have to switch
off auto detection of intranet sites.

Regards.

"Awrightus" <awri...@gmail.com> wrote in message
news:ea8665ec-e6cc-4edd...@k19g2000yqc.googlegroups.com...

0 new messages