Apache-Tomcat AJP Connector for Apache2
Project homepage: https://tomcat.apache.org/connectors-doc/index.html
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.
Package information
- Ports path
- www/ap2-mod_jk
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- www
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running ap2-mod_jk 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.