Just have a look at $TOMCAT_HOME/server.xml
you'll see an entry that looks like:
<Context path="/examples"
docBase="webapps/examples"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
Just make another entry right after it with a different docBase and path,
for example:
<Context path="/geraldjsp"
docBase="/home/gerald/jsp"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
then the next time you restart tomcat, it'll make a new
conf/mod_jk.conf-auto that'll have all
of the stuff that mod_jk.so needs to intercept any urls that look like
"/geraldjsp"
You'll need to restart apache so that apache will re-read httpd.conf, which
in in turn
make apache re-read the mod_jk.conf-auto
Hope this helps!
-Mike
----- Original Message -----
From: "Gerald Koh" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 12:23 PM
Subject: how to put jsp files in regular apache root?
> Hi, I have redhat 7.1 running apache 1.3.19 and tomcat 3.2.2. right now it
> is working, but there are a few outstanding issues. Please keep my
> newbieness in mind when answering:
>
> 1. I think tomcat is serving the static pages as well as the jsps. There
> are directions on how to change this, but read #2 first.
> 2. the jsp's currently need to reside in the webapps directory, I think.
I
> need to hold the jsps in the same directory as the html. Can I do this?
>
> Thanks in advance!
>
> g
>
> --
> Gerald Koh | Site Building | Tumo Solutions | Vail, Colorado
> v: 970.949.4111 x15 | e: [EMAIL PROTECTED]
>
> --
>
> "The only source of knowledge is experience" - Albert Einstein
>
>