Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / www / ap2-jk / MESSAGE
blob16813de04d8adbffcc6a44bcf288718417339560
1 ===========================================================================
2 $NetBSD: MESSAGE,v 1.1.1.1 2006/07/22 19:43:29 abs Exp $
4 In order to use this module in your Apache installation, you need to
5 add the following to your httpd.conf file:
7   LoadModule jk_module lib/httpd/mod_jk.so
9 You will also need a running Java Servlet engine, e.g. www/apache-tomcat6
10 You will need to consult the servlet engine documentation to finish
11 configuring Apache before you can use mod_jk.so.
12 Possible settings you can add to your httpd.conf to use Apache Tomcat are:
13 (according to http://tomcat.apache.org/connectors-doc/generic_howto/quick.html)
15   <IfModule mod_jk.c>
16   JkWorkersFile ${PREFIX}/tomcat/conf/workers.properties
17   JkLogFile     /var/log/httpd/mod_jk.log
18   JkShmFile     /var/log/httpd/mod_jk.shm
19   JkLogLevel    info
20   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
21   JkMount /examples/* worker1
22   </IfModule>
24 With a minimum workers.properties file:
26   # Define 1 real worker using ajp13
27   worker.list=worker1
28   # Set properties for worker1 (ajp13)
29   worker.worker1.type=ajp13
30   worker.worker1.host=localhost
31   worker.worker1.port=8009
33 ===========================================================================