tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Some JK2 ideas v.2
Date Thu, 15 Jul 2004 13:39:35 GMT
If this is all wishlists .. it'd be nice if we could set the worker and 
handler via mod_rewrite.

Intead of
   JkMount /*.jsp loadbalancer
Say:
   RewriteCond %{REQUEST_URI} *\.jsp
   RewriteRule   ^(.+)$    $1   [T=jk,E=worker:loaderbalance]

[If my syntax above is correct]


-Tim

Mladen Turk wrote:
>  
> 
> 
>>-----Original Message-----
>>From: Henri Gomez
>>
>>>Of course all that sounds like JK3, but ...
>>
>>Did you see my post about a simpler module specific for now 
>>to Apache 2.x (2.0/2.1), may be something which could be 
>>included in standard Apache 2.x distribution which will save 
>>us hours on explaining how to build mod_jk/mod_jk2....
>>
> 
> 
> Yes, I did. I read all the replys wery carefully.
> Did you understand mine?
> 
> What I propose is: 'imagine a TC as a virtual file system'
> So, you can 'apr_vfopen(TC/sever, ....)' like opening a file.
> 
> You could for examle:
> 
> Jk3Mount /*.jsp
> 
> and have smewhere something like:
> 
> <mapping "*.jsp">
>    <server name="1.2.3.1" factor="10%" />
> </mapping> 
> 
> or:
> 
> <mapping "*.jsp">
>   <balance>
>      <server name="1.2.3.1" factor="10%" />
>      <server name="1.2.3.2" factor="20%" />
>      <server name="1.2.3.3" factor="auto" />
>      <server name="1.2.3.4" factor="failover" />   
>   </balance>
> </mapping> 
> 

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


Mime
View raw message