modcaml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Modcaml] Apache2 and mod_caml


From: Richard Jones
Subject: Re: [Modcaml] Apache2 and mod_caml
Date: Sat, 11 Feb 2006 18:36:40 +0000
User-agent: Mutt/1.5.9i

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

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]