[squid-users] How to tell squid to redirect to cache_peer if IP's url belong to a defined adress range

From: C. Pelissier <Pelissier.C_at_onera.fr>
Date: Fri, 29 Mar 2013 14:26:55 +0100

Hi,

How can I configure squid (direct proxy) to redirect to another parent
proxy only if requested url hostname DNS resolves to a particular
network (for example 125.0.0.0/32).

With

cache_peer PARENT-PROXY-IP parent 3128 0 proxy-only no-query

all requested client url are redirected to PARENT-PROXY:3128

Example
If requested url is http://www.fujitsu.com and
www.fujitsu.com solve to 125.x.y.z how to tell squid to use cache_peer
and never use it when requested url does not belong to 125.0.0.0/32 IP range.

 
Received on Fri Mar 29 2013 - 13:36:13 MDT

This archive was generated by hypermail 2.2.0 : Sun Mar 31 2013 - 12:00:05 MDT