forked from glondu/nurpawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ocsigenserver.conf.in
42 lines (28 loc) · 1.19 KB
/
ocsigenserver.conf.in
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
37
38
39
40
41
42
<ocsigen>
<server>
<port>8080</port> <!-- The port for the server -->
<logdir>./var/log</logdir> <!-- Where log files are to be written -->
<datadir>./var/lib</datadir>
<charset>UTF-8</charset> <!-- Default charset for pages -->
<extension findlib-package="ocsigenserver.ext.staticmod"/>
<library findlib-package="num"/>
<library findlib-package="calendar"/>
<library findlib-package="extlib"/>
<library findlib-package="postgresql"/>
<!-- Sqlite is needed by ocsipersist, which is used by Eliom: -->
<extension findlib-package="sqlite3"/>
<extension findlib-package="ocsigenserver.ext.ocsipersist-sqlite"/>
<extension findlib-package="eliom.server"/>
<host defaulthostname="localhost">
<site dir="" charset="UTF-8">
<eliom module="%_NURPAWIKI_CMA_%">
<nurpawiki allow_read_only_guests="yes" />
<!-- More attributes for database: port - Postgresql port -->
<database name="%_DBNAME_%" user="%_DBUSER_%" password="%_DBPASSWD_%" />
</eliom>
<static dir="%_STATIC_ROOT_%/files" />
</site>
</host>
<commandpipe>./var/run/ocsigen_command</commandpipe>
</server>
</ocsigen>