none
IE 11 proxy PAC configuration file

    Question

  • Hello,

    I would like to use PAC file to configure my Internet Explorer 11, but so far I'm not able to do so. Below you can find configuration of the Internet Explorer 'Connections\LAN Settings' section and PAC file content (simplified at this moment):

    [Unchecked] Automatically detect settings
    [Checked] Use automatic configuration script
    Address: file://d:/Settings/Proxy.pac
    [Unchecked] Use a proxy server for a LAN
    [Unchecked - grayed out] Bypass proxy server for local addresses

    Content of PAC file is following:

    function FindProxyForURL(url, host)
    {
         return "PROXY proxy.companyname:8080";
    }

    Thanks for your help!

    Regards,
    Stanislav

    Monday, September 23, 2013 4:11 PM

Answers

All replies

  • WinINET no longer supports sourcing PAC files from file:// shares. While supported in IE10, file-based PAC scripts never worked for the WinHTTP stack and the WinINET stack now shares proxy-determination logic with WinHTTP.

    You can place your PAC file on a HTTP/HTTPS-accessible server and both WinINET and WinHTTP (and IE11) will use it.

    See http://blogs.msdn.com/b/ieinternals/archive/2013/10/11/web-proxy-configuration-and-ie11-changes.aspx
    Monday, September 23, 2013 8:57 PM
  • We are using a proxy.pac in my compagny, and IE is set to use this :

    http://proxyhost.mycompagny.local/proxy.pac

    I was working fine on Windows 8 with IE 10 (and also on Window 7 , Windows XP ...)

    Since I upgraded to Windows 8.1 , IE 11 can no longer access to Internet. Let me explain:

    I start my computer, then I start IE and it does nothing, it doesn't load or show the URL of my homewebpage.

    Then I close IE, I go to the control panel in order to remove the proxy setting, then I start IE again and I can access internet. Then I go directly in to the Internet Options from IE , I reactivate the proxy settings and now IE can access internet using the proxy.pac

    This is very weird.

    Thanks in advance for your help

    Thursday, September 26, 2013 10:20 AM
  • @Alexis: Your question is very different from Stanislav's. Please open a new question at the root of the forum so that it isn't lost.

    Thursday, September 26, 2013 8:13 PM
  • Is there any workaround to provide IE with a local pac file? Or maybe provide IE only with the content of that pac file (programmatically)? Something like using InternetSetOption() with the INTERNET_PER_CONN_OPTION option selected.
    Sunday, September 29, 2013 9:15 AM
  • You can place your PAC file on a HTTP/HTTPS-accessible server and both WinINET and WinHTTP (and IE11) will use it.

    Is there any workaround to provide IE with a local pac file?

    Sounds like you may need to fire up IIS?   ; )



    Robert Aldwinckle
    ---

    Sunday, September 29, 2013 11:14 AM
  • My http based pac script (http://localhost/pac/wpad.pac) does not work in IE 11. Works ok in IE 10 before upgrade to Windows 8.1 and IE 11. Google Chrome and Firefox is connecting to the internet just fine. Any tips?
    Sunday, October 20, 2013 10:55 AM