Windows 10: PAC file not working

Discus and support PAC file not working in Windows 10 Network and Sharing to solve the problem; I have the following PAC file: function FindProxyForURLurl, host {// use proxy for specific domainsif shExpMatchurl, "*.google.com" shExpMatchhost,... Discussion in 'Windows 10 Network and Sharing' started by AliRahimiH, Nov 27, 2020.

  1. PAC file not working


    I have the following PAC file:

    function FindProxyForURLurl, host {// use proxy for specific domainsif shExpMatchurl, "*.google.com" shExpMatchhost, "*.google.com" return "PROXY 37.221.114.33:2255";// by default use no proxyreturn "DIRECT";}

    and I have apache2.4 installed as a service on my Windows 10 and I have the .htaccess file to add content type needed for .pac files but still the proxy rules don't applychecked chrome, edge, IE. The headers I get using curl for windows are also correct:

    $ curl 127.0.0.1:80/ProxyAutoConfiguration.pac --headHTTP/1.1 200 OKDate: Fri, 27 Nov 2020 17:14:06 GMTServer: Apache/2.4.46 Win64 LibreSSL/3.1.4 PHP/8.0.0Upgrade: h2Connection: UpgradeLast-Modified: Fri, 27 Nov 2020 17:11:12 GMTETag: "13e-5b519bf566785"Accept-Ranges: bytesContent-Length: 318Content-Type: application/x-ns-proxy-autoconfig

    Also I have tried these addresses in windows proxy autoconfiguration url and none of the work: localhost/ProxyAutoConfiguration.pac , 127.0.0.1/ProxyAutoConfiguration.pac , 127.0.0.1:80/ProxyAutoConfiguration.pac .

    Im at lost, this should be working but following the Windows fashion, it isn't! Any ideas?

    :)
     
    AliRahimiH, Nov 27, 2020
    #1

  2. Is pac file working on Windows 7?

    Hi,

    I am using windows 7 pro_64bit

    I have a proxy for example (http://172.21.26.21/proxy/ops01.pac).

    The proxy will let me have an access to banks in china but every time I used this proxy on windows 7 I can not access the banks or the websites using the most updated version of Internet explorer. The proxy is working on windows 8 and above.

    I usually check the pac file if its working by typing the ip.cn. Supposedly the result should be:


    PAC file not working baf7701f-6285-43c8-ab8f-db6620dbebd5?upload=true.png


    but I am getting the result of:


    PAC file not working 5c72badb-9709-4af2-a008-cb32bca9f1c8?upload=true.png


    Please help me with this.

    Thank you.
     
    User101_393, Nov 27, 2020
    #2
  3. nor61k Win User
    OS settings of ignoring pac file when it's not available? Игнорирование Pac файла когда он недоступен

    Hello!

    when there is no access to pac-file (for example user using corporate notebook outside of company) all applications with proxy in system settings have no access to any resources including using direct access i.e. using no proxy.

    When simulating the situation in company in Windows 7 (professional SP1) when blocking access to pac file, MS Outlook loses connection to server, MSTSC not connection on RPD, Browsers not opening any sites.

    When simulating the same situation on WIndows 10(Ultimate SP1) within company and with no access to pac file all applications work stably. OS just ignores pac file.

    Do you know about this problem? Are there any OS settings of ignoring pac file when it's not available?

    На русском:

    На ОС Windows 7, при отсутствии доступа к pac-файлу (например пользователь использует корпоративный ноутбук за периметрами предприятия), на всех приложениях, использующие системные настройки прокси отсутствует доступ к каким либо ресурсам, в т.ч. использующие
    прямой (DIRECT) доступ, т.е. без использования прокси.

    При моделировании такой ситуации в КСПД, на ОС Windows 7 (Профессиональная Service Pack 1) при блокировке доступа к pac файлу, MS Outlook - теряет подключение к серверу, MSTSC - не подключается по RPD, браузеры не открывают ни один сайт.

    При моделировании такой ситуации на территории предприятия на ОС Windows 10 и домашнем ПК с Windows 7 (Максимальная Service Pack 1) при отсутствии доступа к pac файлу, все приложения стабильно, ОС просто игнорирует пак файл.

    Известно ли Вам о такой проблеме? Существуют ли такие настройки ОС, которые позволяют ОС игнорировать pac файл при его недоступности?
     
    nor61k, Nov 27, 2020
    #3
  4. PAC file not working

    PAC file issue with IE 11.306.10586.0

    Has anyone else noticed that there is an issue with pac files (ZSCALER) and version 11.306.10586.0? We have plenty of users on 11.0.10240.16841 and everything is working properly. Is there somewhere I can go on MS site to see bugs for this version?

    Thanks

    Mike
     
    MichaelLagenour, Nov 27, 2020
    #4
Thema:

PAC file not working

Loading...
  1. PAC file not working - Similar Threads - PAC file working

  2. Win 10 .Pac file cache location ? Caching of Auto_proxy Scripts

    in Windows 10 Gaming
    Win 10 .Pac file cache location ? Caching of Auto_proxy Scripts: Hi, previously on win 7&8 the .pac file location was as below but this doesnt seem to be the case with win10 ? Below is an example but the win10 machines we have seem to work different and wanted to ask is this now depreciated or configured...
  3. Win 10 .Pac file cache location ? Caching of Auto_proxy Scripts

    in Windows 10 Software and Apps
    Win 10 .Pac file cache location ? Caching of Auto_proxy Scripts: Hi, previously on win 7&8 the .pac file location was as below but this doesnt seem to be the case with win10 ? Below is an example but the win10 machines we have seem to work different and wanted to ask is this now depreciated or configured...
  4. Local Group Policy - PAC File

    in Windows 10 Gaming
    Local Group Policy - PAC File: Hello,Is there a place in the local group policy where I can specify a PAC file that applies to the computer for any user?Thank you! https://answers.microsoft.com/en-us/windows/forum/all/local-group-policy-pac-file/ff3827e7-44ca-4d5b-a537-70751622272d
  5. Local Group Policy - PAC File

    in Windows 10 Software and Apps
    Local Group Policy - PAC File: Hello,Is there a place in the local group policy where I can specify a PAC file that applies to the computer for any user?Thank you! https://answers.microsoft.com/en-us/windows/forum/all/local-group-policy-pac-file/ff3827e7-44ca-4d5b-a537-70751622272d
  6. Local Group Policy - PAC File

    in Windows 10 Customization
    Local Group Policy - PAC File: Hello,Is there a place in the local group policy where I can specify a PAC file that applies to the computer for any user?Thank you! https://answers.microsoft.com/en-us/windows/forum/all/local-group-policy-pac-file/ff3827e7-44ca-4d5b-a537-70751622272d
  7. pac virus or just a coincidence?

    in AntiVirus, Firewalls and System Security
    pac virus or just a coincidence?: I have an entry in my startup menu called "Program". On checking the Windows Register I find that this corresponds to a service called "pac". However there is no data saved for the program or the path. Presumably it is a remnant of some other software that did not remove...
  8. Google Pac-Man

    in Windows 10 Gaming
    Google Pac-Man: Back in 2010, Google celebrated Pac-Man's 30th w/a playable doodle on the Google main page. Back then, I was able to download a local version to play; & I have from time to time w/o any problems. To play this local version correctly, sound needed to be enabled. A snippet...
  9. Pac/Wpad file not ready correctly by Edge/IE or Chrome

    in Windows 10 Network and Sharing
    Pac/Wpad file not ready correctly by Edge/IE or Chrome: Hi All, We have a WPAD.dat file that has been used and works fine internally on all of our local network. But on VPN, it doesn't work correctly. We have enabled split tunneling on the firewall and when I connect to the VPN, I obtain the address on the 10.201.50.x range....
  10. IE and Edge ignore PAC (proxy auto config) file

    in Windows 10 Network and Sharing
    IE and Edge ignore PAC (proxy auto config) file: IE and Edge are ignoring PAC script file. The file is on a webserver using HTTPS. If changing the URL to HTTP it works fine. Is there any known issue with Windows? I started seeing this behavior with Windows 10 Build 1903 but I'm not sure if it wasn't present on previous...

Users found this page by searching for:

  1. pac file wont work with windows 21h1