THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
This requests were tested on Ubuntu Linux, but may as well work in other environments.
1. Setting route configution in virtual host
Create a balancer
<Proxy balancer://yourlb> BalancerMember http://127.0.0.1:13001/ route=1 BalancerMember http://127.0.0.1:13002/ route=2 BalancerMember http://127.0.0.1:13003/ route=3 BalancerMember http://127.0.0.1:13004/ route=4 </Proxy>
...
Note: Hard restart is required. apache2ctl graceful is not enough to make new balancer rules effective.
2. Testing
Use wget
wget -S https://yoursite.org/
...
HTTP/1.1 200 OK Date: Wed, 13 Apr 2011 15:21:52 GMT Server: Zope/(Zope 2.10.9-final, python 2.4.5, linux2) ZServer/1.1 Plone/3.3.3 Content-Length: 23197 Expires: Sat, 01 Jan 2000 00:00:00 GMT Content-Type: text/html;charset=utf-8 Content-Language: en Set-Cookie: I18N_LANGUAGE="en"; Path=/ Set-Cookie: ROUTEID=.1; path=/
Warning | ||
---|---|---|
| ||
If you use this remember to have a look at Distributed Entity Cache Clear (DCC) Mechanism |