> -----Original Message-----
> From: LinuXKiD [mailto:gregoriandres@yahoo.com.ar]
> Sent: Thursday, August 18, 2005 2:26 PM
> To: Squid
> Subject: [squid-users] cache_peer question
>
>
> Hi
>
> I've a small lan with a linux:
>
> - iproute2
> - iptables-1.3.1
> - kernel 2.4.28
> - squid 2.5stable 10
> - working as router
>
> I need to access to a web site: www.bancodecurriculum.com.ar
> but, from my ISP link I can't.
>
> while my ISP fix that problem, I've found a free proxy (from
> www.freeproxy.ru)
> and with "lynx", I can access it (setting that anther proxy on
> /etc/lynx.cfg - http_proxy - ), without problem !!
>
> Next, I try to set my squid in order to all lan hosts can get
> that url.
>
> Than I've set on /etc/squid/squid.conf:
>
> cache_peer XX.YY.ZZ.TT parent 3128 0 no-query default
> #cache_peer_domain XX.YY.ZZ.TT .bancodecurriculum.com.ar
>
> But, I still can't access to website www.bancodecurriculum.com.ar
>
> I've tried also:
>
> echo "0" > /proc/sys/net7ipv4/tcp_ecn
>
>
> some body can help me ?
>
> bests.
> andres.
>
>
Add...
acl extra_proxy dstdomain .bancodecurriculum.com.ar
never_direct allow extra_proxy
always_direct allow all
...to have your proxy only hit the parent proxy for that domain. You probably don't want the extra latency for sites you can reach normally. Be sure that you run "squid -k reconfigure" to reload any squid.conf changes.
Chris
Received on Thu Aug 18 2005 - 16:40:03 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT