next up previous contents
Next: /etc/apache/mod_jk/tomcat-auto Up: Configuration Previous: Configuration   Contents


The installation scripts for libapache-mod-jk will insert the necessary lines into here, but I don't like the way they do it, so here's what I do:

I add ``LoadModule jk_module /usr/lib/apache/1.3/'' somewhere before ``LoadModule rewrite_module /usr/lib/apache/1.3/''

The scripts will place a section that looks like this in the file:

<IfModule mod_jk.c>

# The following line is for apacheconfig - DO NOT REMOVE!

JkWorkersFile /etc/apache/mod_jk/

Include /etc/apache/mod_jk/tomcat-auto

If it's located near the end of the file, it's fine. Otherwise that might be a good location for it. Note the ``Include'' line, that file is an automatically generated file that is outputted by Tomcat.