I have set the proxy file as shown below:
function FindProxyForURL(url, host) {
return "PROXY 10.10.10.10:8080";
}
Nothing exists at 10.10.10.10. In IE10/Windows 7 x64, I have disabled "Automatically Detect Settings" and "use Proxy Server for your LAN" under Lan Settings in IE.
The browser is just disregarding the PAC file and going to the websites direct, as they are being loaded in the browser.
Things I have tried with unsuccessful results: 1. Checked Proxy file path by directly putting it in browser URL field. It is downloadable through browser. 2. Double slash in the file path for pac file 3. Moving the pac file in different locations 4. Google Chorme with double slashes
Anything I am missing here?
Thanks,
John
Please refer this page
http://kb.k12usa.com/Knowledgebase/Proxy-Auto-Detect-WPAD-Issues-With-IE-Windows-7
Windows 7 added a feature when using Proxy Auto Detect (WPAD) with Internet Explorer, where if the computer fails to detect the proxy settings once, it will not try again. This is a problem if you then later configure your network to support Proxy Auto Detect. This article explains how to disable this new feature, and allow WPAD to work correctly.
To prevent Windows from tracking which network support WPAD, you need to make a simple registry change: