On Fri, Feb 10, 2006 at 12:31:56PM -0500, Jerry Charumilind wrote:
I have installed mod_caml for apache2 and have run into an issue with
the Registry.handler seeing requests for non-.cmo resources.
For instance, if I add the following lines to my httpd.conf:
CamlLoad /path/to/mod_caml/registry.cmo
AddHandler ocaml-bytecode .cmo
CamlHandler Registry.handler
the Registry.handler will see all requests. This works great for
requests for '*.cmo', but all other files result in the following
error thrown by the handler:
/whatever/path/is/requested: no request->finfo: probably means the
file does not exist.
I'm guessing that we haven't come across this problem because all of
our sites use a standard configuration where the *.cmo files go into
their own "bin directory" and other files go elsewhere. We use
mod_rewrite rules extensively to alter the "URL space" to hide this
fact, so that for example http://merjis.com is really
http://merjis.com/_bin/page.cmo?page=index