Remy Maucherat wrote:
On Tue, 30 Nov 2004 19:55:21 +0100, Mladen Turk <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to