The actual binary itself (mod_jk.so) is different.  The mod_jk.so file for
Apache 1.3 isn't compatible with Apache 2.  Other than that, the only
changes I can think of are modifying the Listener directive in server.xml so
that it looks like this:

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true"
                  forwardAll="false"
modJk="/usr/local/apache2/modules/mod_jk.so" />

Without the "modJk" parameter, I had problems getting the connector to work.
The Apache directives within mod_jk.conf (auto-generated by Tomcat) had the
wrong pathname in the LoadModule line. It was using the Apache 1.3 "libexec"
instead of the Apache 2 "modules".  As soon as I explicitly told Tomcat
where it was, it dumped that pathname into the LoadModule directive and
everything was fine.

John

> -----Original Message-----
> From: Raj Mettai [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 10:05 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Best Connector for Apache 2x and Tomcat 4x
> 
> 
> I followed the following documentation for Apache1.3 and 
> Tomcat4, and it worked great,
> 
> http://www.johnturner.com/howto/apache-tomcat-howto.html
> 
> I wanted to know, that the only difference as for as Howto 
> for Apache2 with tomcat4 is concerned is placing mod_jk.so in 
> modules/ as apposed to libexec/ in apache1.3, or any other 
> chnages ???.
> 
> thanks....................
> 
> 
> -Raj
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to