ocsigenserver.conf.in 679 Bytes
Newer Older
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
<!-- -*- Mode: Xml -*- -->
<ocsigen>

  <server>

    <port>8001</port>

    <logdir>_RUNDIR_/log</logdir>
    <datadir>_RUNDIR_/lib</datadir>
    <commandpipe>_RUNDIR_/run/ocsigenserver_command</commandpipe>

    <charset>utf-8</charset>

    <findlib path="/usr/lib/ocaml"/>

    <extension findlib-package="ocsigenserver.ext.staticmod"/>

    <extension findlib-package="ocsigenserver.ext.ocsipersist-sqlite">
      <database file="_RUNDIR_/lib/ocsidb"/>
    </extension>

    <extension findlib-package="eliom.server"/>

    <host charset="utf-8" hostfilter="*" defaulthostname="localhost">
      <eliom module="_build/src/server.cma" />
    </host>

  </server>

</ocsigen>