Re: [squid-users] Parent

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 5 Mar 2005 03:47:11 +0100 (CET)

On Fri, 4 Mar 2005 Werner.Rost@zf.com wrote:

> And now we have to avoid auth. on the parent for this URL. I need a
> construct like
> if NOLOGON then cache_peer parent-proxy parent 8080 3130
> login=user:secret no-query
>
> which replaces "login=PASS" by a fixed username:password.
>
> How can we do this? Is it possible?

Yes. You only need to use two different names for the same parent, and
cache_peer_access to control what is sent "where".

> Another posibility would be to define a second parent say
> cache_peer parent-proxy-1 parent 8080 3130 login=user:secret no-query
>
> and connect this URL to this second proxy, say:
> if NOLOGON then use parent-proxy-1
>
> How can we do this? Is it possible?

same thing.

Squid does not care if the two peers is the same proxy or two different
proxies. All it cares is that it thinks it is two different proxies (by
having different names in the cache_peer directive).

Regards
Henrik
Received on Fri Mar 04 2005 - 19:47:12 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST