July 16th, 2001, 09:39 AM
-
Help with forcing protocal to ajp13
I am running Win NT4.0 with Apache 1.3.20 and Tomcat 3.2.2. As a redirector between Apache and Tomcat, I am using mod_jk rather than JServ.
I am attempting to force the default protocol redirector from Apache to Tomcat to be ajp13, rather than the usual ajp12.
An extract from uriworkermap.properties-auto, show that I'm failing miserably......
###################################################################
# Auto generated configuration. Dated: Mon Jul 16 14:02:13 GMT 2001
###################################################################
#
# Default worker to be used through our mappings
#
default.worker=ajp12
#
# Root context mounts for Tomcat
#
/servlet/*=$(default.worker)
/*.jsp=$(default.worker)
Can anyone help?
Many Thanks
July 17th, 2001, 10:12 AM
-
Do you have:
<RequestInterceptor className="org.apache.tomcat.modules.server.Ajp13Interceptor"
port="8009"/>
in your server.xml file? If not, put it in there. You will also have to add something like:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /otherworker/*.jsp remoteworker
into the mod_jk.conf file that you included into apache's httpd.conf
That would map any request that ends in .jsp or begins with /servlet to the ajp13 worker. You can also use the JKMount directive in the Virtual Host section of httpd.conf.
Hope that helps....
July 19th, 2001, 03:46 AM
-
Rick,
Thanks for your help - I now have a working Apache/Tomcat using ajp13....
Many Thanks