Hello,

I'm hoping for a quick sanity check on a mod_proxy configuration I am 
attempting.  I'd like to configure a Reverse Proxy with load balancing based on 
lbmethod=bybusyness and have the following in httpd.conf:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so

<Proxy balancer://loadbalancer>

BalancerMember http://machine1.example.com:8080/ max=64 connectiontimeout=1200 
keepalive=on route=machine1
BalancerMember http://machine2.example.com:8080/ max=64 connectiontimeout=1200 
keepalive=on route=machine2

ProxySet lbmethod=bybusyness
ProxySet stickysession=JSESSIONID
</Proxy>

When I try to start httpd it complains:

AH00526: Syntax error on line 528 of C:/Apache24/conf/httpd.conf:
BalancerMember Can't find 'byrequests' lb method

I searched the archive and only find a couple of hits where people did not 
define the lbmethod (thus using the default of byrequests) and needed to load :

#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so

However I do not want to use 'byrequests' ...

When I comment in mod_lbmethod_byrequests.so (and mod_slotmem_shm.so) Apache 
starts.  Balancer-manager shows me the lbmethod is 'bybusyness' as expected.

My question is:

Is mod_lbmethod_byrequests.so required for all balancer configurations or did I 
miss something from my configuration above?

Thanks,
James Rapp



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to