Hacker News new | ask | show | jobs
by Gormisdomai 2004 days ago
This is a useful note on using PACs to set up proxies for just one site:

> Incidentally, you do not need to be running a web server to use the .pac file. You can access it via a file:// type URL. For example (note the 3 slashes): file:///Users/username/Library/proxy.pac

http://hints.macworld.com/article.php?story=2004010109555326...

2 comments

Note that if you are using Chromium, it will refuse to load a PAC file from the file:// scheme. Here's the bug tracker issue for the change: https://bugs.chromium.org/p/chromium/issues/detail?id=839566.
And you should... The proxy.pac file is in some cases reloaded for every single http request.