Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] mod_ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: MikhailFedotov <mikhail@k...>
Subject: RE: [Caml-list] mod_ocaml
> > I've been told about a mod_ocaml for apache, available at
> > http://www.slacky.de/docs/projects/mod_ocaml/
> >
> > I have not tested it, but I thought a lot of people might be
> > interested. If some of you try it, can you tell us if it works ?
>
> Well, I haven't built a real application with it, but I have
> produced a few simple pages, and it worked fine for that.
>
> I was a little disappointed because I was hoping for
> something that allowed using arbitrary OCaml code; mod_ocaml
> only supports an embedding scripting model:
>
>   <?ocml <html> do_stuff () ;; </html> ?>
>
> but it looks like a good tool for quick-and-dirty dynamic Web sites.

It seems that mod_ocaml strips last line of source if there is no
newline
symbol at the end. I.e. if all your html file is in one line, it
disappears...

Mikhail


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners