Article:
  Integrating Tomcat with Apache Via the mod_jk Module
Subject:   what the heck?
Date:   2003-12-03 06:56:36
From:   cj8n
In Jim's post he notes


4. Edit tomcat.conf like so:
<IfModule mod_jk.c>
... (you can leave all of this here)...
</IfModule>


What the heck does "... (you can leave all of this here)..." mean? My tomcat.conf file contains numerous ApJServ... lines. Can you really just leave these in?


Thanks,

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • what the heck?
    2003-12-03 11:58:57  anonymous2 [View]

    My mistake. I put the <IfModule mod_jk.c>..</IfModule> twice.
    You can leave the <IfModule mod_jserv.c>..</IfModule>:

    <IfModule mod_jserv.c>
    ApJServManual on
    ApJServDefaultProtocol ajpv12
    ApJServSecretKey DISABLED
    ApJServMountCopy on
    ApJServLogLevel notice
    ApJServDefaultPort 9007
    AddType test/jsp .jsp
    AddHandler jserv-servlet .jsp
    ApJServMount default /root
    ApJServMount /examples /root
    ApJServMount /WebMail/servlet /WebMail
    ApJServLogFile /private/var/log/httpd/mod_jserv.log
    </IfModule>

    If it makes you more comfortable, you can comment the <IfModule mod_jserv.c>..</IfModule> out, but if you followed the step above it (Step 3), it will never see these instructions.

    jim