[Zope] Problems with FastCGI

Itamar Shtull-Trauring itamar@maxnm.com
Sun, 14 May 2000 10:27:59 +0300


Most of the time, FastCGI works fine.  However, every few page views in a
while it returns the following error page (I'm copying the page's source). 
Notice the HTTP headers were printed in the error page - FastCGI apparently
mistakenly thought they were part of the actual content:

HTTP/1.1 200 OK
Date: Sun, 14 May 2000 07:26:23 GMT
Server: Apache/1.3.11 (Unix) mod_ssl/2.5.0 OpenSSL/0.9.4
mod_fastcgi/2.2.3-SNAP-Apr29-17.29 PHP/3.0.14
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Content-Length: 6669
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>200 OK</TITLE>
</HEAD><BODY>
<H1>OK</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
 root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
<HR>
<ADDRESS>Apache/1.3.11 Server at www.example.com Port 80</ADDRESS>
</BODY></HTML>

and the logs say:
[Sun May 14 02:26:20 2000] [error] [client 212.29.231.2] FastCGI: comm with
server "/Services/www/website/zope" aborted: protocol error: invalid
version: 73 != FCGI_VERSION(1)
[Sun May 14 02:26:23 2000] [error] [client 212.29.231.2] FastCGI: comm with
server "/Services/www/website/zope" aborted: protocol error: invalid
version: 110 != FCGI_VERSION(1)

-- 
Itamar S.T.  itamar@maxnm.com