It seems macOS does not support local PAC file with URL of "file:///path/to/proxy.pac"

It seems macOS does not support local PAC file with URL of "file:///path/to/proxy.pac". This is sometimes inconvenient. For example, I have to launch a http server to provide this PAC file.

I tried to open "file:///path/to/proxy.pac" with Safari and Chrome. Both Safari and Chrome can access the correct file, although their behaviors are different. When I use this URL to configure auto proxy, both browsers connect to website directly without any failure message, even the PAC file is broken(eg. is empty, has syntax error, return a nonexistent address, etc). When I launch a http server to provide PAC file, both browser work correctly with proxy.

As far as I know, most other desktop OS(eg. Windows and Linux desktop dist) support this feature. Will macOS plan to support this feature or why won't ?

Thanks.

Posted on May 26, 2020 10:23 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

It seems macOS does not support local PAC file with URL of "file:///path/to/proxy.pac"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.