diff options
author | abs <abs@pkgsrc.org> | 2006-07-22 19:43:29 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2006-07-22 19:43:29 +0000 |
commit | 031c5c42fe851590469f72c3908a1681cf489b03 (patch) | |
tree | 25acd48d913714ab64d89f2d35a35f851e9e0d7e /www/ap2-jk | |
parent | dc649954d77690652045a527785e9337240aa230 (diff) | |
download | pkgsrc-031c5c42fe851590469f72c3908a1681cf489b03.tar.gz |
Split out apache2 version of ap-jk (Apache HTTP -> Tomcat connector)
Version 1.2.15 (same as ap-jk)
Diffstat (limited to 'www/ap2-jk')
-rw-r--r-- | www/ap2-jk/DESCR | 9 | ||||
-rw-r--r-- | www/ap2-jk/MESSAGE | 21 | ||||
-rw-r--r-- | www/ap2-jk/Makefile | 8 | ||||
-rw-r--r-- | www/ap2-jk/PLIST | 2 |
4 files changed, 40 insertions, 0 deletions
diff --git a/www/ap2-jk/DESCR b/www/ap2-jk/DESCR new file mode 100644 index 00000000000..fc3ea83db0c --- /dev/null +++ b/www/ap2-jk/DESCR @@ -0,0 +1,9 @@ +Tomcat is the Java Servlet / Java Server Page environment produced +by the Apache Foundation's Jakarta Project. Tomcat can be run as a +standalone web server with Servlet and JSP support, or using Apache +Server as its web server via the mod_jk Apache module (the +www/ap-jk package). + +mod_jk is a replacement to the elderly mod_jserv. It is a completely +new Tomcat-Apache plugin that handles the communication between +Tomcat and Apache diff --git a/www/ap2-jk/MESSAGE b/www/ap2-jk/MESSAGE new file mode 100644 index 00000000000..b603ea68e8a --- /dev/null +++ b/www/ap2-jk/MESSAGE @@ -0,0 +1,21 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2006/07/22 19:43:29 abs 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: + + <IfModule mod_jk.c> + JkWorkersFile ${PREFIX}/tomcat/conf/workers.properties + JkLogFile /var/log/httpd/mod_jk.log + JkLogLevel info + JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " + </IfModule> + +=========================================================================== diff --git a/www/ap2-jk/Makefile b/www/ap2-jk/Makefile new file mode 100644 index 00000000000..ce47839b9ae --- /dev/null +++ b/www/ap2-jk/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/07/22 19:43:29 abs Exp $ + +DISTNAME= jakarta-tomcat-connectors-${JK_VERSION}-src +PKGNAME= ap2-jk-${JK_VERSION} + +.include "../../www/ap-jk/Makefile.common" +.include "../../www/apache2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-jk/PLIST b/www/ap2-jk/PLIST new file mode 100644 index 00000000000..71991bad139 --- /dev/null +++ b/www/ap2-jk/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/22 19:43:29 abs Exp $ +lib/httpd/mod_jk.so |