Home

The www/ap2-mod_jk port

ap2-mod_jk-1.2.50 – Apache-Tomcat AJP Connector for Apache2 (cvsweb github mirror)

Description

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.
WWW: https://tomcat.apache.org/connectors-doc/index.html

Readme

+-----------------------------------------------------------------------
| 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
	
	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
	

Restart your httpd2 for changes to make effect.

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

Maintainer

The OpenBSD ports mailing-list

Categories

www

Build dependencies

Run dependencies

Files

Search