summaryrefslogtreecommitdiff
path: root/www/ap2-jk
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2012-10-21 21:33:25 +0000
committererh <erh@pkgsrc.org>2012-10-21 21:33:25 +0000
commit6a37add80acad4b5e40e42bf04007d344a9f9c98 (patch)
treeea4182712904ac5b35999f89ca3216b0279a62d1 /www/ap2-jk
parent624925dcd4ce290407e295d1b986df1d5c9a9103 (diff)
downloadpkgsrc-6a37add80acad4b5e40e42bf04007d344a9f9c98.tar.gz
Update ap-jk and ap2-jk to ver 1.2.37. Fix pkglint warnings. Fixes PR#40542
Diffstat (limited to 'www/ap2-jk')
-rw-r--r--www/ap2-jk/MESSAGE22
1 files changed, 17 insertions, 5 deletions
diff --git a/www/ap2-jk/MESSAGE b/www/ap2-jk/MESSAGE
index b603ea68e8a..c0eb23002e1 100644
--- a/www/ap2-jk/MESSAGE
+++ b/www/ap2-jk/MESSAGE
@@ -1,21 +1,33 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2006/07/22 19:43:29 abs Exp $
+$NetBSD: MESSAGE,v 1.2 2012/10/21 21:33:25 erh Exp $
In order to use this module in your Apache installation, you need to
add the following to your httpd.conf file:
LoadModule jk_module lib/httpd/mod_jk.so
-You will also need a running Java Servlet engine, e.g. www/jakarta-tomcat
-or www/ap-jserv. You will need to consult the servlet engine documentation
-for to finish configuring Apache before you can use mod_jk.so. A possible
-configuration you can add to your httpd.conf to use Jakarta Tomcat is:
+You will also need a running Java Servlet engine, e.g. www/apache-tomcat6
+You will need to consult the servlet engine documentation to finish
+configuring Apache before you can use mod_jk.so.
+Possible settings you can add to your httpd.conf to use Apache Tomcat are:
+(according to http://tomcat.apache.org/connectors-doc/generic_howto/quick.html)
<IfModule mod_jk.c>
JkWorkersFile ${PREFIX}/tomcat/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
+ JkShmFile /var/log/httpd/mod_jk.shm
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
+ JkMount /examples/* worker1
</IfModule>
+With a minimum workers.properties file:
+
+ # Define 1 real worker using ajp13
+ worker.list=worker1
+ # Set properties for worker1 (ajp13)
+ worker.worker1.type=ajp13
+ worker.worker1.host=localhost
+ worker.worker1.port=8009
+
===========================================================================