Re: [squid-users] squid reverse proxy isssue

From: Indunil Jayasooriya <indunil75@dont-contact.us>
Date: Wed, 7 May 2008 08:47:01 +0530

> Skip the accel directive, or upgrade to a more recent Squid version..
>
> More recent RHEL packages can be found from the download section of the
> web site.

I went to the squid site and downloaded
squid-2.6.STABLE19-1.el5.i386.rpm RPM. I have now upgraded. Now, I do
not get that issue.

Now, the question I have is I need to have 2 servers . When primary
goes down, Squid should forward it to Secondary server. But, It does
not.

Primary Server is 192.168.9.5
Secondary Server is 192.168.9.4

My squid box is 192.168.9.62

Here is squid.conf.

http_port 80 accel defaultsite=your.main.website
cache_peer 192.168.9.5 parent 80 0 no-query originserver
cache_peer 192.168.9.4 parent 80 0 no-query originserver
acl our_sites dstdomain your.main.website
http_access allow our_sites

cache_peer_access 192.168.9.5 allow our_sites
cache_peer_access 192.168.9.4 allow our_sites
never_direct allow our_sites

I got these lines from Amos. Squid forwards request to primary
(192.168.9.5). Then, What I did was I removed ethernet cable from
primary Server- 192.168.9.5 ) , Then, I browsed, But, squid did not
forward it to Secondary Server (192.168.9.4) .

Hope to hear from you with your IDEAS.

-- 
Thank you
Indunil Jayasooriya
Received on Wed May 07 2008 - 03:17:07 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:02 MDT