ap2-mod_jk

Apache-Tomcat AJP Connector for Apache2

WWW CVSWeb GITHub
  1. Package version
    ap2-mod_jk-1.2.49
  2. Maintainer
    The OpenBSD ports mailing-list

mod_jk is a DSO module for Apache2. It connects Apache to Tomcat.
mod_jk can be configured to off-load SSL processing to Apache, serve
static content for webapps and load balance multiple Tomcat servers.

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Before you can use ap2-mod_jk, you need to enable it in your Apache2
configuration.

Edit ${SYSCONFDIR}/apache2/httpd2.conf and add the following lines:

LoadModule jk_module ${TRUEPREFIX}/lib/apache2/mod_jk.so
<IfModule jk_module>
JkWorkersFile ${SYSCONFDIR}/apache2/workers.properties
JkLogFile "logs/mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat "%w %V %T"
JkMountFile ${SYSCONFDIR}/apache2/uriworkermap.properties
</IfModule>

Restart your httpd2 for changes to make effect.

You also need to edit ${SYSCONFDIR}/apache2/uriworkermap.properties to reflect
your environment.

  • www/apache-httpd
  • devel/gmake

  • www/apache-httpd