Hi, On Thu, Jun 12, 2008 at 6:13 PM, Ken W. <kenw97@xxxxxxxxx> wrote: > Hello, > > I have two original servers behind Squid boxes. > How to keep requests from the same client always going to the same > original server? > Because we have to use session for web applications, so assigning > requests to original servers by random is not right. > > Thanks. > > --Ken > Some methods: 1. Rewrite a particular URL (e.g. admin.php) need to maintain session to a particular server using cache_peer 2. Use a load balancer behind squid, e.g. ngnix is very effective one I have tried and easy to config