Re: RE: Apache 2.4.3 - Mod_proxy_balancer + mod_lbmethod_bybusyness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



     * NOTE: The default method is byrequests, which we assume
     * exists!
     */
    lbmethod = ap_lookup_provider(PROXY_LBMETHOD, "byrequests", "0");
    if (!lbmethod) {
        return "Can't find 'byrequests' lb method";
    }



On Fri, Dec 28, 2012 at 10:55 AM, Rapp, James <james.rapp@xxxxxxx> wrote:
> Hello,
>
> Can anyone comment on this behavior?
>
> On Monday, December 17, 2012 at 3:52 PM James Rapp wrote:
>
>> <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' ...
>
> If mod_lbmethod_byrequests.so is required for all mod_proxy_balancer methods it will require an update to the 2.4 docs.  If not, can someone suggest a configuration change?
>
> Thanks,
> James Rapp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux