On Wed, 2002-11-20 at 23:28, Francesco Chemolli wrote:
> Robert Collins <robertc@squid-cache.org> writes:
>
> > Another wishlist/todo item, for the archives. (Squid configuration via
> > .PAC files)
>
> If you want to do that, you need to embed a javascript interpreter.
> I don't know about you, but this is not something I'd put in a proxy cache.
Who said anything about 'in' squid. The .pac syntax is very limited. It
should be translatable to:
a set of peers
a set of acls for peers
a set of always_direct/never_direct acls
via perl or something. Then just reconfigure squid. A include command
for squid.conf would help, but then it's be written before and can be
hacked up when the other stuff is ready :}.
Whack it all in a cron job, and watch squids behind other administrative
domains suddenly autoconfigure :}.
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:45 MST