Proxy that can use a pac file as parent proxy

PROXY

I want to setup a caching proxy that will use a pac (proxy autoconfiguration) file as parent proxy (lookup in a pac proxy file to choose which parent proxy to use).
I want to know if anyone knows a proxy server that supports this.

The goal is to be able to use applications that doesn't support pac files with the pac file I normally use.

Best Answer

Not a direct answer, but a solution that will work.

Write a simple proxy (or modify an existing one) that will listen on a specific port at localhost and redirect all requests to whatever proxy it finds using proxy.pac file.

Then take your favourite caching proxy, e.g. squid, and configure it to use your proxy.

Parsing PAC files

Related Question