Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
103 lines (78 sloc) 3.58 KB
<!-- -*- Mode: Xml -*- -->
<!-- this file assumes you run ocsigen from ., via 'make run' -->
<ocsigen>
<server>
<!-- General setting -->
<port>8080</port>
<logdir>var/logs</logdir>
<datadir>var/logs</datadir>
<user></user>
<group></group>
<commandpipe>var/logs/ocsigen_command</commandpipe>
<charset>utf-8</charset>
<!-- guess what, but could be better, could give full trace -->
<debugmode/>
<extension findlib-package="ocsigenserver.ext.staticmod"/>
<extension findlib-package="ocsigenserver.ext.ocsipersist-dbm">
<store dir="var/dbs"/>
</extension>
<extension findlib-package="eliom.server"/>
<!-- to allow external js code to query json endpoints -->
<extension findlib-package="ocsigenserver.ext.cors"/>
<!-- Virtual hosts configuration: -->
<host charset="utf-8" hostfilter="*">
<!-- The directory containing static files -->
<static dir="var/static" />
<!-- less: try to generate automatically that from ../Makefile ? -->
<eliom module="../commons/lib.cma" />
<eliom module="../external/jsonwheel/lib.cma" />
<eliom module="../external/ocamlgraph/ocamlgraph.cma" />
<eliom module="../commons/commons_graph.cma" />
<eliom module="../commons/commons_features.cma" />
<eliom module="../globals/lib.cma" />
<eliom module="../h_files-format/lib.cma" />
<eliom module="../h_program-lang/lib.cma" />
<eliom module="../graph_code/lib.cma" />
<eliom module="../matcher/lib.cma" />
<eliom module="../h_version-control/lib.cma" />
<eliom module="../h_visualization/lib.cma" />
<eliom module="../h_program-visual/lib.cma" />
<eliom module="../lang_ml/parsing/lib.cma" />
<eliom module="../lang_ml/analyze/visual/lib.cma" />
<eliom module="../lang_php/parsing/lib.cma" />
<eliom module="../lang_php/analyze/foundation/lib.cma" />
<eliom module="../lang_php/analyze/checker/lib.cma" />
<eliom module="../lang_php/analyze/visual/lib.cma" />
<eliom module="../lang_js/parsing/lib.cma" />
<eliom module="../lang_js/analyze/lib.cma" />
<eliom module="../lang_java/parsing/lib.cma" />
<eliom module="../lang_java/analyze/lib.cma" />
<eliom module="../lang_cpp/parsing/lib.cma" />
<eliom module="../lang_cpp/analyze/lib.cma" />
<eliom module="../lang_csharp/parsing/lib.cma" />
<eliom module="../lang_csharp/analyze/lib.cma" />
<eliom module="../lang_lisp/parsing/lib.cma" />
<eliom module="../lang_lisp/analyze/lib.cma" />
<eliom module="../lang_haskell/parsing/lib.cma" />
<eliom module="../lang_haskell/analyze/lib.cma" />
<eliom module="../lang_opa/parsing/lib.cma" />
<eliom module="../lang_opa/analyze/lib.cma" />
<eliom module="../lang_erlang/parsing/lib.cma" />
<eliom module="../lang_erlang/analyze/lib.cma" />
<eliom module="../lang_python/parsing/lib.cma" />
<eliom module="../lang_python/analyze/lib.cma" />
<eliom module="../lang_nw/parsing/lib.cma" />
<eliom module="../lang_nw/analyze/lib.cma" />
<eliom module="../lang_text/lib.cma" />
<!--
<eliom module="/home/pad/.opam/4.00.1/lib/ocaml/compiler-libs/ocamlcommon.cma" />
-->
<eliom module="commons/lib.cma" />
<eliom module="code_map/lib.cma" />
<eliom module="code_graph/lib.cma" />
<eliom module="var/app.cma" />
<!-- allow everybody to query the server -->
<cors/>
</host>
</server>
</ocsigen>