I've just started working with mod_jk so I apologize if I've overlooked something. Is there any way to mount a specific Tomcat context-prefix into a specific part of Apache's URL-space? I find the direct mapping of Tomcat's context-path-space to Apache's URL-space to be kind of cumbersome. For example, if I have a context of /myapp in Tomcat, I can't make it appear at /mydir/myapp in Apache -- it's forced to /myapp. The mapping is hardcoded, root-to-root.
Now I can control the context path (and subsequently the Apache URL path) in Tomcat's server.xml, but it seems rather hokey to change Apache's URL-space from somewhere other than within Apache. Not only that, but what if you wanted to make only part of a context accessible from Apache? Suppose you want /myapp/mysubsystem in Tomcat to be accessed via /mything in Apache? Granted, one could set up a redirect or rewrite, but then it would be accessible from two points within Apache: /mything AND /myapp/mysubsystem. I think there needs to be something like a cross between JkMount and Alias. For example: JkMountPath /myapp/mysubsystem /mything ajp13 JkMountPath /myapp/myothersubsystem /myotherthing ajp13 Is this already implemented in mod_jk, or is there another way to do it? Any advice would be appreciated. -- Milo Hyson CyberLife Labs, LLC -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
