Internet -> Lan Settings -> Pac File

AWS

Owner
FPCH Owner
Joined
Nov 19, 2003
Messages
10,976
Location
Florida U.S.A.
I am trying to configure a proxy.pac file for testing. I've boiled it down to the most simple config and it still doesn't work.
I am using a non domain-member WMWare Fusion VM connected with one active network connection bridge to a wired nic.

Windows8/IE10
I created a local share on the machine called:
\testvmproxy
and place my proxy.pac file in there.
The pac file contains just this:
function FindProxyForURL(url, host) {

if ( url == &quotwww.google.com&quot ) {
return &quotPROXY 10.10.10.10&quot
}
else {
return &quotDIRECT&quot
}

}

The 10.10.10.10 machine does not exist.
I registered the pac file in IE using these settings:
[Unticked] Automatically detect settings
[Ticked] Use automatic configuration script
Address: \testvmproxyproxy.pac
[Unticked] Use a proxy server for your LAN

I would expect IE to time out when I try to access [URL="
www.google.com, but succeed for www.bing.com
However both urls work.
What have I done wrong?




View the full article
 
Back
Top