Please make sure you are using mod_caml >= 1.3.4, since earlier versions had a bug with Apache 2.0.
Apache 2.0 contains a bug which prevents mod_caml (or indeed any modules which use PCRE) from working directly. The bug report is here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=27550
You must build a patched version of Apache 2.0.
First download the Apache source code, and apply this patch.
patch -p1 < patch.diff make distclean autoconf
Next configure Apache. The important options are --with-mpm=prefork which disables multithreading and --with-external-pcre which uses your system installed PCRE, hopefully the same one that OCaml PCRE was linked against:
./configure --with-mpm=prefork --with-external-pcre --prefix=PREFIX
Now make and install Apache in the normal way:
make su make install
Now you can build a mod_caml module, and it should work with Apache 2.0.
(Thanks to Jesse D. Guardiani for additional information about this topic).
effective marketing for the web
Merjis specialises in innovative marketing,
accessibility, search engine optimisation (SEO),
and development for the web.