[Haskell-cafe] FastCGI under Windows

Kevin Jardine kevinjardine at yahoo.com
Thu Nov 26 02:55:26 EST 2009

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:


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] Premature end of script headers: test2.fcgi

Any suggestions?


--- On Wed, 11/25/09, Kevin Jardine <kevinjardine at yahoo.com> wrote:

> From: Kevin Jardine <kevinjardine at yahoo.com>
> Subject: [Haskell-cafe] FastCGI under Windows
> To: haskell-cafe at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list