I apologize because I've sent this email already with the subject "JK2 context mounting", but I didn't get a response.


I want to be able to mount a Tomcat URI at any arbitrary location in Apache. Apache and Tomcat are currently working with the mod_jk2 connector with existing Tomcat URIs. I'm using Apache v2.0.44, Tomcat v4.1.18, and mod_jk2 v2.0.3-dev on Solaris 9.

Here is some of my workers2.properties file:

[uri:/cocoon/*]
context=/cocoon/

[uri:/someapp/*]
context=/cocoon/someapp/


..when I use just the first (/cocoon/) entry, /cocoon/someapp/ works fine. When I add the second (/someapp/) entry, both locations spit out a 404 error. I can't seem to find any other possible configuration method to do this with. This has to be a common problem and question.


I've searched Apache.org and Google extensively for the answer, but it's no good. I even considered trying mod_webapp, but I'm using the worker MPM (i.e. threaded) which mod_webapp doesn't like. The "uriMap" config sounds promising, but there is zero documentation for it, and I couldn't get it to do anything useful while I was experimenting.

Can anybody help me out? Thanks!


--Aaron



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



Reply via email to