openbsd-ports/www/mod_jk/files/mod_jk-enable
sturm 5108714805 initial import of mod_jk 1.2.5
mod_jk is a DSO module for Apache 1.3.  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: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/

from Kurt Miller <truk at apache dot org>
2004-01-02 08:19:54 +00:00

18 lines
386 B
Bash

#!/bin/sh
#
# $OpenBSD: mod_jk-enable,v 1.1.1.1 2004/01/02 08:19:54 sturm Exp $
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
HTTPD_CONF=`apxs -q SYSCONFDIR`/httpd.conf
MODULE=/usr/local/lib/mod_jk.so
if [ ! -f ${MODULE} ]; then
echo "can't find mod_jk module (${MODULE})"
exit 1
else
echo "enabling mod_jk (Apache-Tomcat AJP Connector)..."
apxs -i -a -n jk ${MODULE}
fi