Version française
Home     About     Download     Resources     Contact us    
Browse thread
Embedded web server
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] Embedded web server
Am Dienstag, den 20.03.2007, 12:31 +0000 schrieb Joel Reymont:
> Gerd,
> 
> On Mar 20, 2007, at 12:15 PM, Gerd Stolpmann wrote:
> 
> > ocamlnet (ocamlnet.sf.net) has a web server library called  
> > nethttpd. It
> > is e.g. used for www.camlcity.org.
> 
> Is the site hosted without Apache, Lighttpd, etc.? Just plain OCaml?

Yes, only plain OCaml.

> Is the source code for camlcity available anywhere?

Yes: https://gps.dynxs.de/svn/app-linkdb/trunk/

Please note: This is currently a bit hackish, because the linkdb
application was originally an ordinary CGI. I more or less pressed it
into the nethttpd frame. The interesting module is probably
linkdb/lib/cgi which creates some kind of fake CGI environment for the
rest of the program. So it is working, but no good example, and the code
is not well-structured. The main program is currently in linkdb/test.
The netplex.cfg isn't the real one. Documentation is lightyears out of
date. Hope you find it still impressive.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------