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=1.3 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 93FF1BC37 for ; Fri, 17 Jul 2009 16:33:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQCAMAoYErBvsFKl2dsb2JhbACZRgEBAQEBCBUHtx6EDQU X-IronPort-AV: E=Sophos;i="4.42,417,1243807200"; d="scan'208";a="33179793" Received: from dnsp.umh.ac.be (HELO hermes1.umh.ac.be) ([193.190.193.74]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Jul 2009 16:33:17 +0200 Received: from poincare.swapping.umh.ac.be (poincare.swapping.umh.ac.be [10.102.100.62]) by hermes1.umh.ac.be (8.14.2/8.13.6) with ESMTP id n6HETag4724992; Fri, 17 Jul 2009 16:29:36 +0200 Received: from localhost ([127.0.0.1] ident=trch) by poincare.swapping.umh.ac.be with esmtp (Exim 4.69) (envelope-from ) id 1MRoUt-0003cL-K4; Fri, 17 Jul 2009 16:33:15 +0200 Date: Fri, 17 Jul 2009 16:33:15 +0200 (CEST) Message-Id: <20090717.163315.399533864897963361.Christophe.Troestler+ocaml@umons.ac.be> To: anders@bladre.dk Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Netcgi_fcgi From: Christophe TROESTLER In-Reply-To: <20090717.151208.622931768851530579.Christophe.Troestler+ocaml@umons.ac.be> References: <20090716.162741.668523372145744396.Christophe.Troestler+ocaml@umons.ac.be> <20090716150854.GA16324@debian> <20090717.151208.622931768851530579.Christophe.Troestler+ocaml@umons.ac.be> X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:}8v|j Organization: University of Mons X-Mailer: Mew version 6.2.51 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.64 on 193.190.193.76 X-Spam: no; 0.00; netcgi:01 christophe:01 troestler:01 christophe:01 troestler:01 ocaml:01 0200,:01 0200,:01 2009:98 2009:98 wrote:01 wrote:01 caml-list:01 anders:02 conf:04 On Fri, 17 Jul 2009 15:12:08 +0200, 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. Recipe: 1. Add to your apache conf FastCgiExternalServer /var/www/fcgi -host localhost:1200 where /var/www is directory where apache looks for files (see the error log for the filename that is sought after point 3. if it fails with "Not found"). Restart Apache. REM: the file /var/www/fcgi need not to exist. 2. Launch ./counter.fcgi 3. Point your browser to http://localhost/fcgi C.