Developers » mod_caml

What is mod_caml?

mod_caml is a set of Objective CAML (OCaml) bindings for the Apache API. It allows you to run CGI scripts written in OCaml directly inside the Apache webserver. However, it is much much more than just that:

Apache 2.0 users

Please see Apache 2.0 notes if you intend to use mod_caml with Apache 2.0.

AMD64 (Athlon 64, Intel EMT64, etc.)

Please see AMD64 notes if you want to use mod_caml with these 64 bit architectures.

Developers

The savannah project page contains more information for developers.

License

This library is distributed under the GNU Library General Public License with the special OCaml linking exception.

Documentation

Online documentation

Example source code

mod_caml is used to run a large number of community sites and websites. For a couple of these sites, Merjis has made available source code. This source code makes an excellent reference for how to do the harder things, such as user authentication, virtual hosting and persistent database connections.

COCANWIKI

This website building software is written in OCaml and uses mod_caml. The source code is available for download under the GNU GPL. We have also written some extensive developer documentation and coding standards which should help you getting started understanding the code.

J-London

J-London is a community site for Japanese people living in London. Partial source code is available here.

Download

The latest stable version is available from this savannah download page.

If you want bleeding-edge releases (which, despite their name, are usually very stable too), please use the version in CVS. You can find instructions for accessing the CVS version here.

Mailing list

There is a mailing list for mod_caml and COCANWIKI discussions, here:

http://lists.nongnu.org/mailman/listinfo/modcaml

Merjis

effective web marketing

Merjis specialises in finding interested visitors and helping them to convert into leads or purchases. We use PPC, SEO, Social Media, Analytics, Usability, Design, etc.