I just went through this myself. I've found that most of the magic is in
the following:
-----uriworkermap.properties-----
#
# Simple worker configuration file
#
# Mount the servlet context to the ajp13 worker
/servlet/*=ajp13
# Advanced mount of the examples context
/subdir/*.jsp=ajp13
/examples/*=ajp13
/examples/servlet/*=ajp13
---------------------------------
NOTE: Do not forget to either remove or, as shown, comment out the ApJServ
lines as you cannot use both mod_jk and mod_jserv
-----tomcat.conf-----
# Load mod_jk
#
LoadModule jk_module modules/mod_jk.dll
AddModule mod_jk.c
# Configure mod_jk
#
JkWorkersFile c:\tomcat\conf\workers.properties
JkLogFile c:\tomcat\logs\mod_jk.log
JkLogLevel debug
#<IfModule mod_jserv.c>
# Do not edit!
#ApJServManual on
#ApJServDefaultProtocol ajpv12
#ApJServSecretKey DISABLED
#ApJServMountCopy on
#ApJServLogLevel notice
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
#ApJServDefaultPort 8007
#################### All jsp files will go to tomcat ####################
#ApJServMount default /root
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
---------------------
NOTE: At least in my world, the automagically XML-created conf file is still
called tomcat-apache.conf
-----httpd.conf-----
include c:/tomcat/conf/tomcat-apache.conf
--------------------
I hope this helps.
If you need more info, just let me know.
Darrell
-----Original Message-----
From: Rob King [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 8:50 AM
To: tomcat
Subject: tomcat-apache
I am trying to integrate tomcat with apache, using mod_jk.dll. I'd like
apache to handle static HTML and PHP requests, while forwarding JSP
files to tomcat. I'm having trouble deciphering this process using the
existing documentation....can't seem to get in all up and running. Can
anyone offer any suggestions?
Thanks in advance,
Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]