linux-l: Re: Squid zum Parent-benutzen zwingen?

Alexander Stielau aleks at sailtraining.de
Fr Jan 12 17:28:04 CET 2001


Am Fre, Jan 12, 2001 at 05:10:55 +0100 schrieb Alexander Stielau:

> cache_peer 192.168.1.3 parent 8080 3130 default
> #hierarchy_stoplist

Bitte um Entschuldigung, das ist eine FAQ. Kommt nicht wieder vor. :-)
Lösung: http://www.squid-cache.org/Doc/FAQ/FAQ-4.html#ss4.9

4.9 How do I configure Squid forward all requests to another proxy? 

Note: The information here is current for version 2.2. 

First, you need to give Squid a parent cache. Second, you need to tell
Squid it can not connect directly to origin servers. This is done with
three configuration file lines:  

        cache_peer parentcache.foo.com parent 3128 0 no-query default
        acl all src 0.0.0.0/0.0.0.0
        never_direct allow all

Note, with this configuration, if the parent cache fails or becomes
unreachable, then every request will result in an error message.  

Aleks
-- 
		
		airconditioned environment - do not open windows



Mehr Informationen über die Mailingliste linux-l