| Posted: 14 July 2008 at 9:35am | IP Logged
|
|
|
Dear Forum,
I have a situation in which I need to create a virtual load balancer on the fly using v. 2 Lite.
I have found info on how to Load Balance in v.3, but need your help to do it in v.2. By looking at the v3 instructions below, I can see all v2 is missing is the ability to randomize.
At the moment, I cannot upgrade to v3 because my rules are long and very much untested in v3. Please help!
RewriteMap hosts rnd:hosts.txt
RewriteCond %{HTTP:Host} (www)\.mysite.com [NC] RewriteRule (.*) http://${hosts:%1}.mysite.com$1 [R,L]
The example above assumes the creation of an external subdomain, but in my case, it would be easier to randomize on a internal IP... Is that possible?
Thank you so much in advance,
CelloJ
|