-----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 )
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 did that..they all appear to be correct...I re-untarred and installed several different times in the same and new directories.
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...
Worked fine. When I run Zope.cgi from the command line, it dumps core...when I run pcgi-wrapper it complains about no info file.
If your using Linux, have you considered using Zap?
It's on a Sun/Solaris 2.5.1 Daren
Daren, The pcgi-wrapper program was developed on Solaris/2.6, so it should work okay on your platform. Have you tried running your Zope.cgi through the sanity checker? http://starship.python.net/crew/jbauer/persistcgi/pcgifile/ -Jeff
Daren Sefcik wrote:
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 did that..they all appear to be correct...I re-untarred and installed several different times in the same and new directories.
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...
Worked fine. When I run Zope.cgi from the command line, it dumps core...when I run pcgi-wrapper it complains about no info file.
If your using Linux, have you considered using Zap?
It's on a Sun/Solaris 2.5.1
Daren
participants (3)
-
Daren Sefcik -
Jeff Bauer -
Michel Pelletier