<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>Dear
Experts,</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>First I implemented
MoinMoin on Win98 with success. :-) Great tool!</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>Then I tried to repeat
the same installation on Windows2000 using the same tools:</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080> * Apache/2.0.47
(Win32)</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080> * Python 2.2.3
plus win32all-152</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080> * Moin-1.0.zip
installed on "d:/moin"</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>and Apache tells my by
using "http:/localhost/mywiki" ==> </FONT></SPAN><SPAN
class=791574914-25082003><FONT color=#000080>"<FONT color=#000000>Internal
Server Error</FONT>". </FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>The Apache Error Log
shows: "[Mon Aug 25 16:58:37 2003] [error] [client 127.0.0.1] Premature end of
script headers: moin.bat".</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>The Apache
itself is running, "http:/localhost" returns with the default Apache Page
and t</FONT></SPAN><SPAN class=791574914-25082003><FONT color=#000080>he
Environment is set to: "PYTHONPATH=D:\moin\Lib\site-packages".
</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>If
I directly start the "D:\moin\mywiki\moin.bat" file I receive the
correct HTML-FrontPage, but if I start the batch file with "set
QUERY_STRING=test" then I receive the following:</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080>~~~~~~~~~~~~~~</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003></SPAN><SPAN class=791574914-25082003><FONT
color=#000080> Content-Type: text/plain</FONT></SPAN></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
MoinMoin CGI Diagnosis<BR>
======================</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
Package "MoinMoin" successfully imported.</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
Release 1.0<BR> Revision 1.159</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
</FONT></SPAN></DIV><SPAN class=791574914-25082003>
<DIV><FONT color=#000080><SPAN class=791574914-25082003>
</SPAN>Traceback (innermost last):<BR><SPAN
class=791574914-25082003> </SPAN> File "moin.cgi",
line 22, in ?<BR><SPAN
class=791574914-25082003> </SPAN>
cgimain.test()<BR><SPAN
class=791574914-25082003> </SPAN> File
"D:\moin\Lib\site-packages\MoinMoin\cgimain.py", line 43, in test<BR><SPAN
class=791574914-25082003> </SPAN>
local_request = socket.getfqdn(os.environ.get('SERVER_NAME')) == \<BR><SPAN
class=791574914-25082003> </SPAN> File
"D:\Programs\Python22\lib\socket.py", line 100, in getfqdn<BR><SPAN
class=791574914-25082003> </SPAN> name
= name.strip()<BR><SPAN
class=791574914-25082003> </SPAN> AttributeError:
'NoneType' object has no attribute 'strip'</FONT></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080>~~~~~~~~~~~~~~</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003></SPAN> </DIV></FONT></SPAN><SPAN
class=791574914-25082003><FONT color=#000080></FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>Does anybody knows
what's wrong with my installation? How can I further debug the
problem?</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>Thank you very much in
advanced</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>Jens</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>PS: My init
files:</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080>D:\moin\mywiki\moin.bat</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080>~~~~~~~~~~~~~~~</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT color=#000080>@echo off<BR>set
PYTHONPATH=D:\moin\Lib\site-packages<BR>rem set QUERY_STRING=test<BR>d:<BR>cd
\moin\mywiki<BR>D:\programs\Python22\python.exe moin.cgi<BR></FONT>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080>~~~~~~~~~~~~~~~</FONT></SPAN></DIV>
<DIV><SPAN class=791574914-25082003><FONT
color=#000080></FONT></SPAN> </DIV><SPAN class=791574914-25082003>
<DIV><FONT color=#000080>D:\Program Files\Apache
Group\Apache2\conf\httpd.conf<SPAN class=791574914-25082003>
extension:</SPAN></FONT><BR><FONT color=#000080><SPAN
class=791574914-25082003>~~~~~~~~~~~~~~~</SPAN></FONT></DIV>
<DIV><FONT color=#000080><SPAN class=791574914-25082003></SPAN>SetEnv PYTHONPATH
"D:/moin/Lib/site-packages"</FONT></DIV>
<DIV><FONT color=#000080>Alias /wiki/
"D:/moin/share/moin/htdocs/"<BR>ScriptAlias /mywiki
"D:/moin/mywiki/moin.bat"</FONT></SPAN></DIV></DIV></SPAN>
<DIV><SPAN class=791574914-25082003><FONT color=#000080><SPAN
class=791574914-25082003>~~~~~~~~~~~~~~~</SPAN></FONT></SPAN></SPAN></DIV></BODY></HTML>