Jump to content

load balancing


yxselamxy

Recommended Posts

hi.

I want to configure appache for load balancing.

i have 2 tomcat server on 2 different machines. and i have apache on another machine.

please can you tell me how to configure mod_proxy for load balancing.

i have load the modules and configure it like the following:

 

<IfModule mod_proxy.c>

ProxyRequests off

 

ProxyPass / http://host1:8084/

ProxyPassReverse / http://host1:8084/

 

ProxyPass / http://host2:8084/

ProxyPassReverse / http://host2:8084/

 

</IfModule>

 

but apache do not make load balancing he always try to connect to host1.

Link to comment
https://forums.phpfreaks.com/topic/681-load-balancing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.