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 43 44 45 46
|
<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 -->
<findlib path="%_OCSIGEN_METAS_DIR_%" />
<extension findlib-package="ocsigen.ext.staticmod" />
<library module="%_STR_CMA_%"/>
<library module="%_NUMS_CMA_%"/>
<library module="%_PCRE_CMA_%"/>
<library module="%_CALENDAR_CMA_%"/>
<library module="%_EXTLIB_CMA_%"/>
<library module="%_POSTGRESQL_CMA_%"/>
<library module="%_CRYPTOKIT_CMA_%"/>
<!-- Sqlite is needed by ocsipersist, which is used by Eliom: -->
<extension module="%_SQLITE3_CMA_%"/>
<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>
|