tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: compiling mod_proxy_ajp
Date Tue, 30 Nov 2004 19:14:39 GMT
Remy Maucherat wrote:
> On Tue, 30 Nov 2004 19:55:21 +0100, Mladen Turk <mturk@apache.org> wrote:
> 
>>Elihu Smails wrote:
>>
>>>2 questions...
>>>
>>>1. Is there anything that must be configured in Apache
>>>to get Apache to talk to Tomcat?
>>
>>
>>ProxyPass /servlets-examples ajp://localhost:8009/servlets-examples
>>ProxyPassReverse /servlets-examples ajp://localhost:8009/servlets-examples
>>
>>Just like http proxy :).
>>
>>Or..
>><Proxy balancer://mycluster>
>>   BalacerMember ajp://first.server:8009 max=50 lbfactor=2
>>   BalacerMember ajp://second.server:8009 max=100 lbfactor=1
>></Proxy>
>>
>>ProxyPassReverse /servlets-examples balacer://mycluster/servlets-examples
> 
> 
> Great :)
> 
> Questions ! :)
> - Max: Max number of concurrent requests ?

Yes.

> - You don't need ProxyPass in this case ?

Sorry :)

<Proxy balancer://mycluster>
    BalancerMember ajp://first.server:8009 max=50 lbfactor=2
    BalancerMember ajp://second.server:8009 max=100 lbfactor=1
</Proxy>

ProxyPass /servlets-examples balancer://mycluster/servlets-examples


> - What are the sticky names which should be used for sessions ?
> 

BalacerMember ajp://first.server:8009 max=50 lbfactor=2 route=jvmRoute 
redirect=jvmRoute2

ProxyPass /servlets-examples balacer://mycluster/servlets-examples 
stickysession=on nofailover=on timeout=600 maxattempts=10

How that sounds :)

MT.






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message