tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: multiple mod_jk server mappings and JSESSIONID
Date Mon, 30 Apr 2012 14:54:21 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Esmond,

On 4/30/12 8:06 AM, Esmond Pitt wrote:
>> I am not sure that mod_jk mappings follow the principle of
>> "longest match
> wins".
> 
> They follow a logic of their own whereby wildcard matches outrank 
> non-wildcard matches, so for example:
> 
> JkMount /* JkUnmount /
> 
> doesn't operate to unmount the Tomcat root, not because it is
> shorter but because it isn't a wildcard (see mod_jk.log).
> 
> The best advice I can give you about mod_jk is not to use it: ditch
> it and use mod_proxy_ajp instead. Much better, much simpler, and no
> messing about between the Tomcat and Apache configurations.

Just because you find mod_proxy_ajp easier to configure doesn't make
it a good recommendation. The OP isn't having any problem that complex
configuration is making any easier or worse.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+ep50ACgkQ9CaO5/Lv0PAuBQCgpYGHiYIrGuHIjyy+BVVK39oF
SCoAoJ+eFRdlfkyTQE1qiftI4d/F52oY
=6dgK
-----END PGP SIGNATURE-----

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


Mime
View raw message