[Zope] Zope.cgi error
Michel Pelletier
michel@digicool.com
Wed, 31 Mar 1999 19:34:58 -0500
> -----Original Message-----
> From: Daren Sefcik [mailto:daren@sefcik.cc]
> Sent: Wednesday, March 31, 1999 5:57 PM
> To: zope@zope.org
> Subject: [Zope] Zope.cgi error
>
>
> I am trying to get Zope.cgi working (Apache 1.3.4) per the Zope source
> instructions.
> When I try to access http://somedomain/cgi-bin/Zope.cgi/manage
> I get the following error in the http-error log:
>
> httpd: [Wed Mar 31 14:52:45 1999] [error] [client 168.240.152.202]
> Premature end of script headers: /usr/local/www/cgi-bin/Zope.cgi
>
>
> Does anybody know what this means??
>
Could be a couple things:
Check to make sure the paths in the Zope.cgi are correct, this typicly
fouls you up if you install Zope in one area and then mv it to another,
Zope.cgi contains absolute paths.
I seem to remember that if python sends something to stderr, then this
will happen. Try cd'ing to [Zopedir]/lib/python and run python, then
'import Main'. At this point, if it fails, there is something wrong
with your Zope install, or maybe an extension didn't compile right,
etc...
If your using Linux, have you considered using Zap?
http://www.zope.org/Download/Zap-1.1.0
even if you don't want to use our precompiled 1.3.4 Apache, or you
aren't running Linux, it is still handy to eyeball the .conf file we
used.
-Michel
> TIA,
> Daren
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>