Hi, I had a good few problems with this myself, but sorted it
What you want to do is get
mod_jk-2.0.42.dll
from the Jakarta site. I had enourmous problems trying to use Coyote, but the docs do say that should be considered beta.
Place the .dll in Apache2/modules. Then place something like:
LoadModule jk_module E:/Java/Instances/Apache/Apache2/modules/mod_jk-2.0.42.dll
JkWorkersFile "E:/Java/Instances/Apache/Tomcat 4.1/conf/workers.properties"
JkLogFile "E:/Java/Instances/Apache/Tomcat 4.1/conf/jk/modjk.log"
JkLogLevel info
into your Apache2/conf/httpd.conf file. Something like this which will give you a good start can be generated by the auto-config generator in Tomcat (won't list directions for that here, but just ask - there's lots of sites with the description anyway).
Then have:
workers.tomcat_home=E:/Java/Instances/Apache/Tomcat 4.1
workers.java_home=E:/Java/Instances/j2sdk1.4.1
ps=\\
worker.list=ajp12, ajp13
# Definition for Ajp13 worker
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
in your workers.properties file and:
<Service name="Tomcat-Apache">
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5"
maxProcessors="75" acceptCount="10" debug="0"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />
in your server.xml inside Tomcat/conf.
That should pretty much do it - just make the appropriate pathname alterations for your system.
I used the auto-gen just to get a good idea of what my mod_jk.conf would look like, but you don't need to- the websites with that info are all very accurate.
Hope this helps.