Tim Funk wrote:
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]

Rewrite rewrite the URL but doesn't process the request (it doesn't not read the file corresponding to the URL).




-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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to