#!/bin/bash cd /ext/env/01/apache2/conf if [ ! -e httpd.conf.org ]; then cp httpd.conf httpd.conf.org fi cat << EOF >> httpd.conf LoadModule jk2_module modules/mod_jk2.so EOF cat << EOF > workers2.properties #Log [logger.file:0] level=ERROR file=${serverRoot}/logs/mod_jk2.log #Starus [status:] [uri:/jkstatus/*] group=status: #Memory [shm:] desabled=1 #Channel [channel.socket:localhost:8009] #URI [uri:/servlets-examples/*] [uri:/jsp-examples/*] EOF cd /ext/env/01 tar zxvf /ext/cmp/01/jakarta-tomcat-connectors-jk2-src-current.tar.gz cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 ./configure --with-apxs2=/ext/env/01/apache2/bin/apxs make cp ../build/jk2/apache2/mod_jk2.so /ext/env/01/apache2/modules