Re: [squid-users] Dynamic upstream proxy?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 5 Mar 2004 14:23:54 +0100 (CET)

On Fri, 5 Mar 2004, Chris Wilcox wrote:

> County have now dictated that all browsers which access the Internet via a
> County Council connection must use a proxy.pac file to gain their internet
> settings. The use of a local cache such as Squid will no longer be
> supported, and apparently I will be unable to point Squid at the upstream
> proxy IP and port, as this will be be unavailable.

proxy.pac is just a Javascript which returns the proxy IP:PORT to use.

The parent proxies does not really notice how you found this IP:PORT
value, but it is possible that the proxy.pac is using several different
proxies depending on various conditions.

Squid does not have the required Javascript engine to parse proxy.pac
files, but in most cases you can do the parsing for it and convert this
into suitable cache_peer and cache_peer_access directives.

REgards
Henrik
Received on Fri Mar 05 2004 - 06:23:56 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:01 MST