Here's a more detailed description of the problem:

Apache 2.0.49 site 'www.domain.com' has a subdirectory called 'members'. Users entering this directory are authenticated using .htaccess. The index.html file in the 'members' directory has a hyperlink to a webapp called 'minutes' (http://www.domain.com/members/minutes/index.jsp).

On the Tomcat 5.0.24 side there is a webapp called minutes.war in the 'webapp' deployment directory.

How can I map the 'minutes' app so that apache thinks is under the apache 'members' directory?

This works...  http://www.domain.com/members/index.jsp

This doesn't...  http://www.domain.com/members/minutes/index.jsp

In mod_jk and webapp it was possible to do this. How can it be done using mod_jk2?

Thanks,

Jack

Nikola Milutinovic wrote:

Jack Lauman wrote:

I have a site where users enter the members area through a URL like this:

http://www.domain.com/members/minutes.jsp

My workers2.properties file

[uri:/minutes/*]
group:ajp13:localhost:8009

How do you remap the members directory so that jk2 know that it point to a tomcat app called minutes in the root context?


With the above, you map one set of URI to a worker, which (in case of "ajp13") will deliver it to some Tomcat instance. Tomcat instance will parse the URI (yes, it does that) and decide which context (web application) it belongs to.

In short, both your Apache and Tomcat must have a matching definition of VHosts and paths. I believe there is also a "path" parameter in the "[uri:...]", which can map to a new path, so paths can differ. I've never done it myself - I had matching paths.

Nix.

---------------------------------------------------------------------
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