Hi !

I've set up tomcat 1.4.1 and apache 1.3 to work together via
autoconfiguration (generating a mod_jk.conf file).

Here is the beginning of my server.xml file :

"
Server port="8005" shutdown="SHUTDOWN" debug="0">

<!-- Autoconfiguration of Apache - vpanel
 see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
 -->
 <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
         modJk="/etc/httpd/modules/mod_jk.so"
         jkLog="/var/log/httpd/mod_jk.log"
         jkDebug="debug"
         forwardAll="true"
         />
<Context name="localhost" debug="0" appbase="webapps" >
</Context>
"

The mod_jk.conf generated is :

"
########## Auto generated on Wed Mar 19 17:23:51 CET 2003##########

<IfModule !mod_jk.c>
  LoadModule jk_module /etc/httpd/modules/mod_jk.so
</IfModule>

JkWorkersFile "/var/tomcat4/conf/jk/workers.properties"
JkLogFile "/var/log/httpd/mod_jk.log"

JkLogLevel debug
"

I do not want virtualhosts on my apache server, only directories. The
problem is that there is no <Directory>, Alias nor JkMount directive
being generated and I have to set them up myself in the httpd.conf. Is
this supposed to be so ? (If it is the case, what is the interest of
auconfiguration : the mod_jk.conf contains exactly the same directives
as in my server.xml file!!)

Is there any solution to make Tomcat "virtualhosts" appears as
directories in the httpd.conf of apache ?

Thanks.

Vincent.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to