From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 9BC0CBC37 for ; Fri, 17 Jul 2009 16:23:15 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskBAJ0mYErDL/cVkGdsb2JhbACOe4pLAQEBAQkJDAcTBLcPCYQEBYlD X-IronPort-AV: E=Sophos;i="4.42,417,1243807200"; d="scan'208";a="29954271" Received: from csmtp1.one.com ([195.47.247.21]) by mail2-smtp-roc.national.inria.fr with ESMTP; 17 Jul 2009 16:22:59 +0200 Received: from debian (unknown [86.48.46.72]) by csmtp1.one.com (Postfix) with ESMTP id 0F58E1BC00214; Fri, 17 Jul 2009 14:22:58 +0000 (UTC) Received: by debian (sSMTP sendmail emulation); Fri, 17 Jul 2009 16:22:57 +0200 Date: Fri, 17 Jul 2009 16:22:57 +0200 From: Anders =?iso-8859-1?Q?Th=F8gersen?= To: Christophe TROESTLER Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Netcgi_fcgi Message-ID: <20090717142257.GA7510@debian> Mail-Followup-To: Christophe TROESTLER , caml-list@yquem.inria.fr References: <20090716112755.GA5482@debian> <20090716.162741.668523372145744396.Christophe.Troestler+ocaml@umons.ac.be> <20090716150854.GA16324@debian> <20090717.151208.622931768851530579.Christophe.Troestler+ocaml@umons.ac.be> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090717.151208.622931768851530579.Christophe.Troestler+ocaml@umons.ac.be> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam: no; 0.00; netcgi:01 christophe:01 troestler:01 0200,:01 beginner's:01 ocaml:01 bug:01 2009:98 beginners:01 wrote:01 wrote:01 caml-list:01 caml-list:01 bin:01 caml:02 Hi, On 15:12 Fri 17 Jul 2009, Christophe TROESTLER wrote: > On Thu, 16 Jul 2009 17:08:54 +0200, Anders Thøgersen wrote: > > > > I believe I have done this part correctly, though. Here's a sample > > session when starting the program from the commandline as you suggest: > > > > $ ./counter.fcgi > > ./counter.fcgi (FCGI) listening on port 1200. > > > > And in another shell: > > > > $ lynx 127.0.0.1:1200 > > > > This waits indefinately. A timeout is also what is reported by > > mod_fastcgi. > > You are supposed to talk the FCGI (binary) protocol on port 1200. > Trying to access it with a browser (HTTP protocol) will do nothing > interesting. You have to configure your web server so it contact > localhost:1200 when you request the URL you want. According to > http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html it should be > someting like > > FastCgiExternalServer path/to/url -host localhost:1200 Do'h! sorry for being such a n00b :-/ > Hope it helps, Yes, indeed I have gotten the examples to work, thanks! I'll see if I can write a small text to guide new users like myself. Regards Anders > C. > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >