Hi
I'm having a heck of a time getting tomcat/apache(virtual host)/mod_jk
to work properly in a directory structure different than that laid out
in the example. I'm relatively certain it's a pathing problem since I'm
pretty much guessing at what the values should be for the various paths.
I have read all the FAQ's and tomcat documentation but for the most
part, it's deals with using jserv and nowhere can I find an explanation
of what docBase is supposed to be. I've spent hours looking through the
archives as well. If nothing else, the archive shows me I'm not alone
in my lack of understanding :p
Can anyone explain the relationship between apache DocumentRoot and
JkMount, ContextManager home and Context path and docBase?
System info: solaris 8, tomcat 3.2.1 (binary), apache 1.3.12, mod_jk
My directory structure looks like:
/web (contains 15 or so web sites, one for each virtual host)
/tomcat2 (this is just the root directory for some website)
/java
conf
logs
webapps
images
index.html
jsp
servlets
WEB-INF
work
My DocumentRoot = /web/tomcat2 and my ContextManager home =
/web/tomcat2/java.
My latest try (and I think I've tried every possible combination at
least twice).
JkMount /java/webapps/*.jsp ajp13
JkMount /java/webapps/servlet/* ajp13
<Host name ="192.168.0.240">
<Context path=""
docBase="/web/tomcat2/java/webapps"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
</Host>
If anyone can clarify things for me I'd be eternally grateful.
brock
******************************************************
Brock Barber
Applications Group
MBD (McNair Business Development Inc.)
Direct: 789-0019
Fax: 789-7630
E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.mcnairbd.com
A head for business.
******************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]