Apache load balancing test with vhosts

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache load balancing test with vhosts

Postby imperium2335 » 12. April 2014 21:14

I was following this tutorial at:

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?
imperium2335
 
Posts: 1
Joined: 12. April 2014 21:13
Operating System: Windows 2008

Return to Apache

Who is online

Users browsing this forum: No registered users and 49 guests