File: README.httpd.conf

package info (click to toggle)
ocamlnet 2.2.9-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,724 kB
  • ctags: 10,053
  • sloc: ml: 63,928; ansic: 1,973; makefile: 800; sh: 651
file content (36 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (4)
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
34
35
36
# Add to httpd.conf: (adjust paths to your system)

LoadModule jserv_module       /usr/lib/apache/mod_jserv.so
AddModule mod_jserv.c

<IfModule mod_jserv.c>

# The mode jservd is started. "off" means that the web server starts jservd,
# "on" means that the web server finds an already started jservd.
ApJServManual off

# The path to jserv.properties:
ApJServProperties /etc/httpd/jserv.properties
ApJServLogFile /var/log/httpd.jserv_log
ApJServLogLevel info
ApJServDefaultProtocol ajpv12

# Where jservd can be found:
ApJServDefaultHost localhost
ApJServDefaultPort 8007

# The secret key must be the same that is specified in jserv.properties:
ApJServSecretKey /path/to/secret/file/containing/anything

# This means that the root zone is mounted under /servlets. (Ocamlnet
# does not support the zone concept, so use the root zone always.)
ApJServMount /servlets /root

# Note: you can also mount further jservd servers by:
# ApJServMount /path protocol://host:port/zone, e.g.
# ApJServMount /servlets8008 ajpv12://localhost:8008/root
</IfModule>


# There are more relevant configuration parameters that are
# explained in the sample file in the JSERV distribution.