You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephanie Wullbieter <sw...@gmx.de> on 2008/08/11 17:05:34 UTC

concurrent JkMount entries? Order relevant?

Hi, what to do when I want generally mount a context and it's subdirectories with mod_jk to one worker/router, but a special subdirectory of it to a different worker/router?

Does this work in mod_jk.conf?

JkMount /app/web/indexer   worker42
JkMount /app/web/indexer/* worker42

JkMount /app   routerInt4
JkMount /app/* routerInt4


Do I have to write the special contextes first, so that only when they do not match, the general mount option is used?

Thank You very mutch.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: concurrent JkMount entries? Order relevant?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephanie,

Stephanie Wullbieter wrote:
| Hi, what to do when I want generally mount a context and it's
| subdirectories with mod_jk to one worker/router, but a special
| subdirectory of it to a different worker/router?
|
| Does this work in mod_jk.conf?
|
| JkMount /app/web/indexer   worker42
| JkMount /app/web/indexer/* worker42
|
| JkMount /app   routerInt4
| JkMount /app/* routerInt4

This is pure speculation, but I would put your generic stuff first and
then add more-specific rules afterward.

This should be easy to test empirically.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkigeRkACgkQ9CaO5/Lv0PBxnwCfcurgQhh16luTUem26aMxbfY4
EckAoKUS6LgQLCGHeHj2RkvGM8Lvrl96
=Grma
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: concurrent JkMount entries? Order relevant?

Posted by Bill Barker <wb...@wilshire.com>.
"Stephanie Wullbieter" <sw...@gmx.de> wrote in message 
news:20080811150534.84920@gmx.net...
> Hi, what to do when I want generally mount a context and it's 
> subdirectories with mod_jk to one worker/router, but a special 
> subdirectory of it to a different worker/router?
>
> Does this work in mod_jk.conf?
>
> JkMount /app/web/indexer   worker42
> JkMount /app/web/indexer/* worker42
>
> JkMount /app   routerInt4
> JkMount /app/* routerInt4
>
>
> Do I have to write the special contextes first, so that only when they do 
> not match, the general mount option is used?
>
> Thank You very mutch.
>


The order in mod_jk.conf doesn't matter.  mod_jk will choose the most 
specific match reguardless of the order in the file.
So the short answer is:  yes the above should work.
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org