Search squid archive

Re: Rewrite url and reverse proxy

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

 



mån 2010-08-02 klockan 15:45 +0530 skrev senthilkumaar2021:
> Hi All,
> 
> I am using squid as reverse proxy.i have three identical web 
> servers.(content in each web server is same)
> the ip's are 172.16.1.48,172.16.1.49,172.16.1.50
> I used url rewrite perl script to redirect requests from 
> other.example.com to redirect as squid.example.com.

> How to configure cache_peer so that redirected requests are passed to 
> 172.16.1.49 ip and the direct requests to 172.16.1.49 and 172.16.1.50

Not entirely sure what you mean by redirected or direct requests.

If you have three identical web servers then set up three cache_peer
lines, one for each server, and use peer selection algorithms such as
round-robin to decide which server gets the request. Do not use URL
rewriters to rewrite the URL.

Regards
Henrik



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

  Powered by Linux