[BACK]Return to MESSAGE CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / ap2-jk

File: [cvs.NetBSD.org] / pkgsrc / www / ap2-jk / MESSAGE (download)

Revision 1.2, Sun Oct 21 21:33:25 2012 UTC (7 years, 3 months ago) by erh
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Changes since 1.1: +17 -5 lines

Update ap-jk and ap2-jk to ver 1.2.37.  Fix pkglint warnings.  Fixes PR#40542

===========================================================================
$NetBSD: MESSAGE,v 1.2 2012/10/21 21:33:25 erh Exp $

In order to use this module in your Apache installation, you need to
add the following to your httpd.conf file:

  LoadModule jk_module lib/httpd/mod_jk.so

You will also need a running Java Servlet engine, e.g. www/apache-tomcat6
You will need to consult the servlet engine documentation to finish
configuring Apache before you can use mod_jk.so.
Possible settings you can add to your httpd.conf to use Apache Tomcat are:
(according to http://tomcat.apache.org/connectors-doc/generic_howto/quick.html)

  <IfModule mod_jk.c>
  JkWorkersFile	${PREFIX}/tomcat/conf/workers.properties
  JkLogFile     /var/log/httpd/mod_jk.log
  JkShmFile     /var/log/httpd/mod_jk.shm
  JkLogLevel    info
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
  JkMount /examples/* worker1
  </IfModule>

With a minimum workers.properties file:

  # Define 1 real worker using ajp13
  worker.list=worker1
  # Set properties for worker1 (ajp13)
  worker.worker1.type=ajp13
  worker.worker1.host=localhost
  worker.worker1.port=8009

===========================================================================