From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D15EBBB84 for ; Fri, 14 Jul 2006 18:10:25 +0200 (CEST) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6EGAO3M007016 for ; Fri, 14 Jul 2006 18:10:25 +0200 Received: by nz-out-0102.google.com with SMTP id 18so247411nzp for ; Fri, 14 Jul 2006 09:10:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QGdKx/Fp4yt4/QQUIur+05wlmhMqzmlUsVdy03Zi+oWEKL4AZKKukL2eXXbm7HFgPbgaHa0q71Huygovu/RHz9LLAeLfLd1SUjIlb3xyLh+lMijQi0TqZbNZqOF7w5BL1YKL/TKok7nLE90JnoqEH9fnp6WT069qrS+wauvGZyI= Received: by 10.36.133.20 with SMTP id g20mr1848257nzd; Fri, 14 Jul 2006 09:10:23 -0700 (PDT) Received: by 10.36.101.10 with HTTP; Fri, 14 Jul 2006 09:10:23 -0700 (PDT) Message-ID: Date: Sat, 15 Jul 2006 04:10:23 +1200 From: "Jonathan Roewen" To: "Jonathan Hayward http://JonathansCorner.com" Subject: Re: [Caml-list] Interface mismatch on build Cc: caml-list@yquem.inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-j-chkmail-Score: MSGID : 44B7C1F0.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44B7C1F0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; mismatch:01 ocamlnet:01 ocamlnet:01 netcgi:01 netcgi:01 lri:01 filliatr:01 ocaml:01 getenv:01 stdin:01 parsing:01 libs:01 caml-list:01 data:02 slightly:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP autolearn=disabled version=3.0.3 > I'm still trying to get ocamlnet2 to build, or at least netcgi--if I can't > get ocamlnet/netcgi to work with, is there a plainer alternative to netcgi > that will let me access CGI values and make a slightly older-style CGI > script? You can try http://www.lri.fr/~filliatr/ftp/ocaml/cgi/ For do it yourself, you can grab env parameters (such as query string, cookies, etc) using Sys.getenv, or read post data from stdin (after getting the content-length header). Just a matter of writing the parsing stuff yourself (which these libs do for you, and a little more).