hi,
ich habs in der FAQ von Squid gefunden:
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.
In case you want to be able to use direct connections when all the
parents go down you should use a different approach:
cache_peer parentcache.foo.com parent 3128 0 no-query
prefer_direct off
The default behaviour of Squid in the absence of positive ICP, HTCP,
etc replies is to connect to the origin server instead of using parents.
The prefer_direct off directive tells Squid to try parents first.
trotzdem THX
cu denny
Am Mit, 2002-03-20 um 08.22 schrieb Christopher Ruehl:
> in der squid.conf
> 1.) cache_peer deine.suse.server parent 8080 7 noqery
> 2.) always_direct deny all
----------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org