|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Andrey Melnikov 2:5030/1340.116 07 May 2001 20:16:26 To : Anton G. Sokolovsky Subject : Squid и вышестоящий прокси -------------------------------------------------------------------------------- 07 May 01 15:32, Anton G. Sokolovsky wrote to All: AS> From: "Anton G. Sokolovsky" <me@dgraf.eu.org> >> Ставил cache_peer proxy.PROXY_ADDR.ru parent 3128 3130 default , любые >> options, однако он все равно идет к примеру DIRECT/www.napster.com. AS> FAQ: AS> 4.9 How do I configure Squid forward all requests to another proxy? AS> Note: The information here is current for version 2.2. AS> First, you need to give Squid a parent cache. Second, you need to tell AS> Squid it can not connect directly to origin servers. This is done with AS> three configuration file lines: AS> cache_peer parentcache.foo.com parent 3128 0 no-query default AS> acl all src 0.0.0.0/0.0.0.0 AS> never_direct allow all AS> Note, with this configuration, if the parent cache fails or becomes AS> unreachable, then every request will result in an error message. И получим 503 Can't forward request если парент подох. Правильней - preffer_direct off Andrey aka TEMHOTA-RIPN [Team Linux] [Team Inet] [Team IRC 4ever] [Team Windows Mu$t DiE] [Team TEMHOTA - Дрyг молодежи!] [Team CuBeR PuNkS] [TEAM Спать] [TEAM hAtE] --- GoldED+/LNX 1.1.4.7 * Origin: Powered by SlackWare Linux (2:5030/1340.116) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/52203af6ca87.html, оценка из 5, голосов 10
|