[Zope] tired of Apache and PCGI
alan runyan
runyaga@thisbox.com
Mon, 01 Nov 1999 21:12:34 -0600
i've been doign this for a long time tonight.
running redhat 5.2
apache 1.3.9
zope-2.0.1-src
python 1.52
i get all stuff cozy and if i run try to run
http://domain.com/Zope I get in my err_log:
[Tue Nov 2 02:14:28 1999] [error] [client
24.28.119.115] Premature end of script headers:
/usr/local/apache/cgi-bin/Zope.cgi
and then if I run
/usr/local/apache/cgi-bin/Zope.cgi i get:
Status: 500 Internal Server Error
X-Powered-By: Zope (www.zope.org), Python
(www.python.org)
Bobo-Exception-File:
/home/zope_admin/Zope-2.0.1-src/lib/python/ZPublisher/HTTPRequest.py
Content-Type: text/html
Bobo-Exception-Type: exceptions.KeyError
Bobo-Exception-Value: SERVER_NAME
Content-Length: 1110
Bobo-Exception-Line: 232
<HTML>
<HEAD><TITLE>Zope Error</TITLE></HEAD>
<BODY>
<TABLE BORDER="0" WIDTH="100%">
<TR VALIGN="TOP">
<TD WIDTH="10%" ALIGN="CENTER">
</TD>
<TD WIDTH="90%">
<H2>Zope Error</H2>
<P>Zope has encountered an error while
publishing this resource.
</P>
<P><STRONG>exceptions.KeyError</STRONG></P>
Sorry, a Zope error occurred.<p>
<!--
Traceback (innermost last):
File
/home/zope_admin/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py,
line 212, in publish_module
File
/home/zope_admin/Zope-2.0.1-src/lib/python/ZPublisher/HTTPRequest.py,
line 232, in __init__
KeyError: SERVER_NAME
-->
<HR NOSHADE>
<P>Troubleshooting Suggestions</P>
<UL>
<LI>The URL may be incorrect.</LI>
<LI>The parameters passed to this resource may
be incorrect.</LI>
<LI>A resource that this resource relies on may
be encountering an error.</LI>
</UL>
<P>For more detailed information about the
error, please
refer to the HTML source for this page.
</P>
<P>If the error persists please contact the site
maintainer.
Thank you for your patience.
</P>
</TD></TR>
</TABLE>
</BODY>
</HTML>
I dont think this is something people are paying
too much attention to documenting.. I assume
because its such a nightware that right after you
get it done you wanna forget about it (?). if you
have any comments please cc me on it..
yawn...
runyaga@thisbox.com