
You could try calling the program as CGI instead of FastCGI to try and pin
down where the error is coming from. Also, you could run a FastCGI script in
a different language (Perl?) and see if that works. I can't say, however,
that I've even used FastCGI on Windows.
Michael
On Thu, Nov 26, 2009 at 9:55 AM, Kevin Jardine
Just to add more detail:
I am running Apache 2.2.9. The message I mentioned appeared in the Apache error log file when running the sample Haskell FastCGI scripts under localhost with mod_fastcgi.
I understand that there are some problems with mod_fastcgi and Apache 2.2.9, so I downloaded the Apache 2.2.9 version of mod_fcgid from here:
http://www.apachelounge.com/download/
and tried that instead.
I no longer get the error message I mentioned before, but instead get:
[Thu Nov 26 08:44:30 2009] [warn] mod_fcgid: read timeout from pipe [Thu Nov 26 08:44:30 2009] [error] [client 127.0.0.1] Premature end of script headers: test2.fcgi
Any suggestions?
Kevin
--- On Wed, 11/25/09, Kevin Jardine
wrote: From: Kevin Jardine
Subject: [Haskell-cafe] FastCGI under Windows To: haskell-cafe@haskell.org Date: Wednesday, November 25, 2009, 10:44 PM I'm attempting to get FastCGI working with Haskell under Windows XP. However, all the sample code I've tried always fails with:
user error (FCGX_Accept_r failed with error code: -9999) unknown listenType (0)
Has anyone seen this before? Any ideas on what I could try to get this to work?
Kevin
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe