I'm trying to setup a proxy.pac
file that may be used for IE6 clients. This is basically it:
function FindProxyForURL(url, host) {
if (shExpMatch(host, "*example.com*")) return "DIRECT";
return "PROXY 1.2.3.4:8080";
}
This file tells the browser that any client trying to go to a host matching "*example.com*"
should use a direct connection, otherwise use the proxy.
This works fine in essentially any browser, but IE6 never matches the shExpMatch
no matter what I try. I've read this and disabled the cache as described here, but to no avail.
I'm positive IE6 supports the shExpMatch
function, but if someone wants to correct me, I'd be glad to hear it. Incidentally, this is running on WinXP SP2.