Re: [squid-users] 2 squid server

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 28 Nov 2008 16:25:35 +1300

░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
> hi all
> i have problem here
>
> server A 192.168.222.111 squid port 2210
> server B 192.168.222.100 squid port 2012
>
> when i put this line on Server A on the first line
> cache_peer 192.168.222.100 parent 2012 0 no-query no-digest default
>
> and i put this line at server B
> First line :
> cache_peer 192.168.222.111 sibling 2012 0 no-query no-digest default
>
> and at line after
> acl manager proto cache_object
> acl all src 0.0.0.0/0.0.0.0
> acl localhost src 127.0.0.1
> acl SSL_ports port 443 563
> acl Safe_ports port 21 80 81 53 143 2443 443 563 70 210 1025-65535
> acl Safe_ports port 280
> acl Safe_ports port 488
> acl Safe_ports port 591
> acl Safe_ports port 777
> acl CONNECT method CONNECT
>
> i put :
> cache_peer_access 192.168.222.111 allow all
>
>
>
> some how it doest work
> at server B's log it say 192.168.222.111 DENIED
>
> my question :
> 1. why it say denied ?
> 2. if i have user rule at server A , is the rule will still work ? or
> i must put the rule again at server B
>
> ~~~ it;s urgent but not about live ^^

  http://wiki.squid-cache.org/SquidFaq/ReverseProxy

note the config examples for standard reverse proxy.

there is no reason why server at 192.168.222.100 or Squid should be
asked to supply http://192.168.222.111/ requests in the first place.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.2
Received on Fri Nov 28 2008 - 03:25:39 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 28 2008 - 12:00:04 MST