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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <Christophe.Troestler+ocaml@u...>
Subject: Re: [Caml-list] Netcgi_fcgi
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.