Re: [squid-users] Redirect certain sites through parent proxy?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 07 Oct 2010 00:15:50 +0000

On Thu, 7 Oct 2010 13:06:35 +1300, Daniel Herbert-Ward
<D.Herbert.Ward_at_Orcon.net.nz> wrote:
> On 7/10/2010, at 11:46 AM, Amos Jeffries wrote:
>
>> On Thu, 7 Oct 2010 02:34:08 +1300, Daniel Herbert-Ward
>> <D.Herbert.Ward_at_Orcon.net.nz> wrote:
>>> Thank you to all who have helped me in the past. Helmut Hullen and
Giles
>>> Coochey. but one more thing, I would like to redirect the website
>>> "www.whatismyip.com" through another proxy, for testing purposes.
>>>
>>> the parent proxy server is 206.225.95.146:58258
>>>
>>> I have got this: cache_peer 172.16.x.x(IP of another Server) parent
>>> 3128(SQUID PORT) 3130(ICP_PORT) cache_peer_domain example.com
>>>
>>> But how is that meant to work?? I can't figure it out! D:
>>
>> http://www.squid-cache.org/Doc/config/cache_peer/
>>
>> Parent Proxy: 206.225.95.146:58258
>>
>> squid.conf: cache_peer 206.225.95.146 parent 58258 3130
>>
>> (3130 may be 0 if they do not support ICP requests from your Squid.)
>>
>> Amos
>
> Thank you Amos, But I only want to send certain url requests through the
> parent. So when someone accesses whatismyip.com, it is being sent
through
> the parent proxy.
>

Thats what the cache_peer_domain / cache_peer_access do. only requests
which match their criteria lists may get passed to the peer.

Amos
Received on Thu Oct 07 2010 - 00:15:54 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 07 2010 - 12:00:02 MDT