http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf/c1f2605b7be6a95985256b870069c0a8/36fd13678096637585256c1d0039a59b?OpenDocument
I setup the following piece of code in httpd.conf:
I setup two Domino Clusters as follows:
Cluster1 - Server1, Server2
Cluster2 - Server3, Server4
<Proxy balancer://Cluster1/>
BalancerMember http://server1.demo.com:80/ route=Server1
BalancerMember http://server2.demo.com:80/ route=Server2
ProxySet lbmethod=byrequests
</Proxy>
<Proxy balancer://Cluster2/>
BalancerMember http://server3.demo.com:80/ route=Server3
BalancerMember http://server4.demo.com:80/ route=Server4
ProxySet lbmethod=byrequests
</Proxy>
ProxyPass / balancer://Cluster1/ stickysession=inotesses nofailover=Off
ProxyPassReverse / http://server1.demo.com/
ProxyPassReverse / http://server2.demo.com/
ProxyPass / balancer://Cluster2/ stickysession=inotesses nofailover=Off
ProxyPassReverse / http://server3.demo.com/
ProxyPassReverse / http://server4.demo.com/
RewriteCond %{HTTP_COOKIE} _clusterses=Cluster1 [NC]
RewriteRule ^/((mail|iNotes|icons|domjava)/.*)$ balancer://Cluster1/$1 [P]
RewriteCond %{HTTP_COOKIE} _clusterses=Cluster2 [NC]
RewriteRule ^/((mail|iNotes|icons|domjava)/.*)$ balancer://Cluster2/$1 [P]