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

_______________________________________________
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