[Comm] privoxy and squid

Yuri Horoshkov =?iso-8859-1?q?yurih_=CE=C1_voliacable=2Ecom?=
Пт Янв 28 11:23:00 MSK 2005


Вадим Илларионов пишет:

>В сообщении от 26 Январь 2005 17:45 Yuri Horoshkov написал(a):
>  
>
>>Хочу снизить трафик, но не могу сообразить, как идеологически правильно
>>выстроить связку прокси, так:
>>privoxy -> squid
>>или так:
>>squid ->privoxy
>>Понимаю, что надо форвардить один из прокси-серверов, но меня смущает
>>необходимость ссылки на 127.0.0.1:port, является ли это корректным,
>>например, для squid.
>>Спасибо.
>>    
>>
>
>Цитата из мануала:
>==========================
>If you intend to chain Privoxy and squid locally,
>then chain as browser -> squid -> privoxy is the recommended way. 
>
>Assuming that Privoxy and squid run on the same box, your squid configuration 
>could then look like this:
>
>  # Define Privoxy as parent proxy (without ICP) 
>  cache_peer 127.0.0.1 parent 8118 7 no-query 
>
>  # Define ACL for protocol FTP 
>  acl ftp proto FTP 
>
>  # Do not forward FTP requests to Privoxy
>  always_direct allow ftp 
>
>  # Forward all the rest to Privoxy
>  never_direct allow all
>
>You would then need to change your browser's proxy settings to squid's address 
>and port. Squid normally uses port 3128. If unsure consult http_port in 
>squid.conf.
>==========================
>
>  
>
Спасибо, не доглядел до конца. Не надо было торопиться :) .

-- 
С уважением,
Юрий. 




Подробная информация о списке рассылки community