caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Netcgi_fcgi
@ 2009-07-16 11:27 Anders Thøgersen
       [not found] ` <BB046CA812535C45BD0029AA9D04BA7906676353@KL-SRV57.lmsintl.com>
  2009-07-16 14:27 ` Christophe TROESTLER
  0 siblings, 2 replies; 8+ messages in thread
From: Anders Thøgersen @ 2009-07-16 11:27 UTC (permalink / raw)
  To: caml-list

Hello,

I am trying to get the fastcgi examples from netcgi2 to work, but am
having some problems with this.  I am running with apache2 and
mod_fcgid.

I have compiled the counter_fcgi example with ocamlopt and copied the
executable to my fcgid directory.  When pointing my browser at the url
of the binary I get an internal server error and the logs contain the
following:

    [Thu Jul 16 13:20:38 2009] [warn] (104)Connection reset by peer:  mod_fcgid: read data from fastcgi server error.
    [Thu Jul 16 13:20:38 2009] [error] [client 127.0.1.1] Premature end of script headers: counter.fcgi

I can see that a socket is created for communication between apache and
counter.fcgi, so something is functioning correctly, and I am unsure
what the problem might be.

Any pointers are welcome!

Regards
Anders


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-22 12:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2009-07-17 14:33       ` Christophe TROESTLER
2009-07-22 12:57         ` Anders Thøgersen

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