How do I make Apache DocumentRoot == webapp root?

My platform is Linux (Redhat 7.2) with Apache and

Tomcat 3.3-b1, using mod_jk.so to talk to Apache.

How do I set it so that the webserver DocumentRoot gets

handled by Tomcat. I want to put .jsp pages in the web

DocmuentRoot, and I haven't been able to figure this out

with mod_jk.so.

For example if I have $TOMCAT_HOME/webapps/myApp.war,

when a browser looks up http://www.myserver.com/, it

will map to $TOMCAT_HOME/webapps/myApp/

Can anyone help me to do this or point me to some good

documentation?

Thanks,

Rob.

[603 byte] By [rdare] at [2007-9-26 3:53:05]
# 1

I tried adding a Context (apps-myApp.xml):

<?xml version="1.0" encoding="ISO-8859-1"?>

<webapps>

<?xml version="1.0" encoding="ISO-8859-1"?>

<webapps>

<!-- Setting special properties for /myApp

( as an example of overriding the defaults )

-->

<Context path="/" docBase="webapps/myApp" debug="0" reloadable="true" >

<LogSetter name="myApp_tc.log" path="logs/myApp.log" />

<LogSetter name="myApp_servlet_log"

path="logs/servlet_myApp.log"

servletLogger="true"/>

</Context>

</webapps>

rdare at 2007-6-29 12:40:59 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...