18 lines
386 B
Plaintext
18 lines
386 B
Plaintext
|
#!/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
|