blob: c0eb23002e197ae9cbe132d6dd5b39b0e2c49289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
===========================================================================
$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/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
===========================================================================
|