CCL Home Page
Up Directory CCL node7.html
/etc/apache/httpd.conf next up previous contents
Next: /etc/apache/mod_jk/tomcat-auto Up: Configuration Previous: Configuration   Contents

/etc/apache/httpd.conf

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/mod_jk.so'' somewhere before ``LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so''

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/workers.properties

Include /etc/apache/mod_jk/tomcat-auto

</IfModule>
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.



2001-05-26
Modified: Sun May 27 22:08:42 2001 GMT
Page accessed 4492 times since Mon Feb 3 15:24:45 2003 GMT