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.

_______________________________________________
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

Reply via email to