package ocsigenserver

  1. Overview
  2. Docs
A full-featured and extensible Web server


Dune Dependency






Ocsigen Server implements most features of the HTTP protocol, and has a very powerful extension mechanism that makes it very easy to plug your own OCaml modules for generating pages. Many extensions are already implemented, like a reverse proxy, content compression, access control, authentication, etc.

Published: 04 Oct 2023


Ocsigen server

Build instructions:

  • run "sh configure [options]" to generate 'Makefile.config'

  • For the full list of options, run "sh configure --help".

  • verify that 'Makefile.config' suits to your needs.

  • run "make" to compile

  • [optional] run "make logrotate" as root to install logrotate configuration files in /etc/logrotate.d

  • [optional] run "make doc" to build the ocamldoc

  • run "make purge" to uninstall everything (even configuration files)

Local testings:

  • run "make run.local" or "make run.opt.local" in the ocsigen source directory.

  • open http://localhost:8080/index.html in your browser

  • if it does not work, look at the logs (see 'local/var/log/' in the ocsgigen source directory) or run ocsigen with options -v.


  • Vincent Balat (project leader, Web server, Ocsigenmod, Eliom, Eliom client, Staticmod, XHTML syntax extension, documentation, Ocsimore, extension mechanism, Ocsidbm, Ocsipersist with DBM, ...)

  • Jérôme Vouillon (Lwt, Web server, js_of_ocaml, O'Closure, ...)

  • Boris Yakobowski (Ocsimore, module Extendconfiguration, Ocsigen server...)

  • Benjamin Canou (O'Browser)

  • Jérémie Dimino (Lwt)

  • Raphaël Proust (Ocsforge, Eliom client, Comet)

  • Stéphane Glondu (Configuration file, Findlib integration, access control, HTTP authentication, Debian package, ...)

  • Gabriel Kerneis (XHTML syntax extension for OCaml 3.10, Ocsipersist with SQLite, CGI module, forms in Eliom, deflatemod, ...)

  • Denis Berthod (HTTP protocol, Web server)

  • Grégoire Henry (safe unmarshalling of client data)

  • Pierre Chambart (Comet)

  • Jaap Boender (Ocsimore, NetBSD and Godi packages)

  • Gabriel Scherer (Macaque)

  • Gabriel Cardoso (O'Closure)

  • Jean-Henri Granarolo (Ocsforge)

  • Simon Castellan (HTML5, OpenID, SVG)

  • Piero Furiesi (Ocsimore)

  • Thorsten Ohl (most of the functions generating XHTML (xML and xHTML modules))

  • Mauricio Fernandez (Xhtmlcompact, static linking of extensions and Eliom modules)

  • Nataliya Guts (Web server, HTTPS)

  • Archibald Pontier (Atom, Pubsubhubbub)

  • Jérôme Velleine (CGI module)

  • Charles Oran (O'Closure)

  • Pierre Clairambault (Lwt_lib, Gentoo package, configure script, ...)

  • Cécile Herbelin (HTML5, Benchmarks)

  • Jan Rochel (Ocsipersist)


Innovation. Community. Security.