http://phptechsolutions.wordpress.com/2012/07/28/load-balancing-with-apache/
But I can't get Apache to start.
I have enabled the appropriate mod_X in the config and started Apache up without the vhosts directives and it starts up fine.
When I put the following in my vhosts file, Apache won't start:
- Code: Select all
<VirtualHost localhost:1000>
DocumentRoot "F:\WAMP\www\loadtest"
ServerName loadtest
ProxyRequests Off
<Proxy balancer://mycluster>
BalancerMember http://localhost:1001 route=load1 redirect=load2
BalancerMember http://localhost:1002 route=load2 redirect=load1
</Proxy>
ProxyPass / balancer-manager !
ProxyPass / balancer://mycluster
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Allow from all
</Location>
</VirtualHost>
What am I doing wrong here?