On Fri, 4 Mar 2005 Werner.Rost@xxxxxx 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