=================================================================== --- howto/apache.xml (revision 465431) +++ howto/apache.xml (working copy) @@ -244,16 +244,27 @@ </source> <p> +Note: this file may also be generated as $TOMCAT_HOME/conf/auto/mod_jk.conf +</p> + +<p> This will tell Apache to use directives in the <b>mod_jk.conf-auto</b> file in the Apache configuration. This file is created by enabling the Apache auto-configuration as follows, in your server.xml file. <b>Please note that this example is specific to Tomcat 5.x, unlike other sections of this document - which also apply to previous Tomcat branches.</b> + which also apply to previous Tomcat branches.</b> Also, this entry goes within the block for your current + 'Engine', not in a block of its own. </p> <source> ... <Engine ...> + . + . + . <Listener className="org.apache.jk.config.ApacheConfig" modJk="/path/to/mod_jk.so" /> - </Engine> + . + . + . + </Engine> ... </source>
Created attachment 19028 [details] Patch to documentation on automating Tomcat to generate Apache conf file
Many thanks for the patch. I have committed a slightly re-worded version to SVN which will be included in JK 1.2.20 onwards.