Re: Load-balancing with Mod_Proxy and SSL problem

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

 



On 07/12/2012 02:42 PM, Jehan Badshah wrote:
> HI
> 
> *for loadbalancing I added following lines in httpd-ssl.conf file *
> 
> <VirtualHost _default_:443>
> //certificates etc
> 
> //loadbalancing lines
> ProxyPass / balancer://sakaiCluster/ stickysession=JSESSIONID
> nofailover=On timeout=60
> <Proxy balancer://sakaiCluster>
>         BalancerMember ajp://192.168.1.101:8009
> <http://192.168.1.101:8009> route=tom121
>         BalancerMember ajp://192.168.1.102:8009
> <http://192.168.1.102:8009> route=tom122
>    </Proxy>
> 
> </VirtualHost>
> 
> *when I am running apache then getting following syntax error*
> 
> AH00526: Syntax error on line 247 of httpd-ssl.conf:
> ProxyPass Can't find 'byrequests' lb method
> 
> 
> *Following are Loaded Modules:*
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  mpm_event_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  socache_shmcb_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  slotmem_shm_module (shared)
>  ssl_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  proxy_module (shared)
>  proxy_balancer_module (shared)
>  proxy_ajp_module (shared)
>  proxy_http_module (shared)
> 
> Any help ?
> 
> 
> Regards
> ----------------------------------------------------
> Jehan
> 
> 
You need to load mod_lbmethod_byrequests :)

LoadModule lbmethod_byrequests_module /path/mod_lbmethod_byrequests.so

With regards,
Daniel.


---------------------------------------------------------------------
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