Search squid archive

Re: squid reverse proxy isssue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux