[squid-users] Re: Specify parent outside of squid.conf?

From: Adam Aube <aaube01@dont-contact.us>
Date: Tue, 07 Dec 2004 10:29:19 -0500

Steve Snyder wrote:

> I am running Squid (2.5S7, on FC2 Linux) on a notebook machine, a machine
> which is used on several networks. One of these networks requires me to
> use a parent proxy for Internet access. Is it possible to specify the
> parent proxy, if any, outside the squid.conf config file?

No, but there is a solution.

Refer to the parent cache by name instead of IP address, then use /etc/hosts
to match that name to whatever the correct IP address is for the
environment you are currently in.

You will likely have to start Squid after updating /etc/hosts.

Adam
Received on Tue Dec 07 2004 - 08:29:26 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST