Chris,

Here's how I've compiled mod_jk on Linux (Redhat 9 and
Fedora Core 1).

   1.  Download source
   2. Uncompress it and extract the tar file.
   3. cd to 
      jakarta-tomcat-connectors-jk-1.2.n-src/jk/native
   4. chmod u+x configure
   5. Run configure with:

./configure \
--with-apxs=<apache-root-directory>/bin/apxs \
--with-java-home=<java-root-directory> \
--with-jni

For example:

  ./configure --with-apxs=/home/apache/bin/apxs \
              --with-java-home=/usr/java \
              --with-jni
          
   6. If you use Apache 1.3 with SSL (mod_ssl), you 
      will need to add the following to your configure

      command: --enable-EAPI

For example:

  ./configure --with-apxs=/home/apache/bin/apxs \
              --with-java-home=/usr/java \
              --with-jni \
              --enable-EAPI
          
   7. Run make
   8. The .so files will be in the appropriate 
      subdirectories:
          * apache-1.3 - mod_jk for apache 1.3.x
          * apache-2.0 - mod_jk for apache 2.0.x
          * iis - mod_jk for iis
          * jni - jkjni (if selected during configure)
          * netscape - mod_jk for netscape server
          * domino - mod_jk for domino server
   9. Copy those to files to 
      <apache-root-directory>/modules with the proper 
      permissions.
  10. Configure and restart both Tomcat and the Apache

      web server.

HTH

/mde/

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to