B
Blue_Craig
Guest
I am testing a PAC file below in IE 11 on my Win 7 laptop, but when I enter in https://swscan.apple.com it takes me to the normal page that loads when I don't have the PAC file configured in IE. Should it not redirect to 127.0.0.1:8080? I have disabled Automatically detect settings and the address is set to file://c:\proxy.pac. I have tested the PAC file with PAC file tester and the correct rules kick in when I test with that website.
function FindProxyForURL(url, host)
{
if (shExpMatch(host, "mesu.apple.com") ||
shExpMatch(host, "appldnld.apple.com") ||
shExpMatch(host, "swscan.apple.com") ||
shExpMatch(host, "xp.apple.com") ||
shExpMatch(host, "gdmf.apple.com"))
return "PROXY 127.0.0.1:8080";
else
return "DIRECT";
}
Continue reading...
function FindProxyForURL(url, host)
{
if (shExpMatch(host, "mesu.apple.com") ||
shExpMatch(host, "appldnld.apple.com") ||
shExpMatch(host, "swscan.apple.com") ||
shExpMatch(host, "xp.apple.com") ||
shExpMatch(host, "gdmf.apple.com"))
return "PROXY 127.0.0.1:8080";
else
return "DIRECT";
}
Continue reading...