You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Cameron Taggart <ca...@gmail.com> on 2005/12/20 10:08:52 UTC
[users@httpd] mod_proxy ProxyPass balancer:// with SSL
I'm trying to connect httpd 2.2 to tomcat 5.5.12 in such a way that:
1) I can load balance multiple Tomcat instances.
2) If one Tomcat instance stops responding or is shutdown, it is no longer used.
3) Sticky sessions.
4) http & https (SSL) support
The first three items look like they can be accomplished using
mod_proxy and ProxyPass with a blanacer:// and ajp:// URL's to the
Tomcat instances.
Based on http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass,
something like this may work:
<VirtualHost *:80>
ServerName myhost.mydomain.com
ProxyPass / balancer://mycluster stickysession=jsessionid nofailover=On
<Proxy balancer://mycluster>
BalancerMember ajp://server01:8009/myapp/
BalancerMember ajp://server02:8009/myapp/
</Proxy>
</VirtualHost>
Is it possible to add SSL into the mix and still have load balancing
and sticky sessions? Any help or reality checks would be appreciated!
Thanks,
Cameron
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org