caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Anders Thøgersen" <anders@bladre.dk>
To: Christophe TROESTLER <Christophe.Troestler+ocaml@umons.ac.be>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Netcgi_fcgi
Date: Fri, 17 Jul 2009 16:22:57 +0200	[thread overview]
Message-ID: <20090717142257.GA7510@debian> (raw)
In-Reply-To: <20090717.151208.622931768851530579.Christophe.Troestler+ocaml@umons.ac.be>

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
> 
> 


  reply	other threads:[~2009-07-17 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 11:27 Netcgi_fcgi Anders Thøgersen
     [not found] ` <BB046CA812535C45BD0029AA9D04BA7906676353@KL-SRV57.lmsintl.com>
2009-07-16 13:31   ` [Caml-list] Netcgi_fcgi Anders Thøgersen
2009-07-16 14:27 ` Christophe TROESTLER
2009-07-16 15:08   ` Anders Thøgersen
2009-07-17 13:12     ` Christophe TROESTLER
2009-07-17 14:22       ` Anders Thøgersen [this message]
2009-07-17 14:33       ` Christophe TROESTLER
2009-07-22 12:57         ` Anders Thøgersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090717142257.GA7510@debian \
    --to=anders@bladre.dk \
    --cc=Christophe.Troestler+ocaml@umons.ac.be \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).