To get tomcat to generate the mod_jk.conf file I had to do the
following:
just after the <Server ....> line in server.xml add:  
  <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
            modJk="/opt/apache2/lib/mod_jk.so"
            workersConfig="/opt/tomcat/conf/jk/workers.properties"/>

then find the "default virtual host"  and add:
      <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
          append="true" forwardAll="true"

That's it. Some notes though
        * if you are using apache 2.0.43, you need to compile mod_jk
          yourself
        * once the file has been created. I find it best to copy it to a
          safe place and make any needed changes by hand

Ron
On Sat, 2002-11-23 at 12:50, Nitesh Garg wrote:
> 
> I hv downloaded Apache/Tomcat 4.1.12 and have apache 2.0, I want to configure my 
>tomv\cat with apache. As in the given step when I run tomcat(it runs on standalone ) 
>it does not generate mod_jk.conf-auto that i need to put in http.conf.
> 
>  
> 
> Any suggestion to configure tomcat with apache will be help full
> 
>  
> 
> thanx in advance
> 
> Nitesh
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now



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

Reply via email to