<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<div><br></div><div>I'm porting Moinmoin (1.8) from w2k3 to w2k8.</div><div><br></div><div>After setup Python 2.5.4 (tried Python 2.7, but hit the same error. Thus rolled back to 2.5), zip Moin folder from W2k3 and unzip it in W2k8.</div><div><br></div><div>In IIS7, setup the virtual directories.</div><div><br></div><div>Now when I access my Wiki, I got the following error:</div><div><div>HTTP Error 502.2 - Bad Gateway</div><div>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "2010-12-11 12:15:15,609 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! Traceback (most recent call last): File "D:\Moin\MyWiki\moin.cgi", line 54, in <module> run(Config) File "D:\Moin\Lib\site-packages\MoinMoin\server\server_cgi.py", line 57, in run request = request_cgi.Request(properties=config.properties) File "D:\Moin\Lib\site-packages\MoinMoin\request\request_cgi.py", line 32, in __init__ self.fail(err) File "D:\Moin\Lib\site-packages\MoinMoin\request\__init__.py", line 1452, in fail if not self.sent_headers: AttributeError: 'Request' object has no attribute 'sent_headers' ".</div></div><div><br></div><div>I have ported it to another w2k3 server before and it worked. This is the first time I tried on W2k8.</div><div><br></div><div>Any help will be highly appreciated!</div><div>Thanks,</div><div>Gang</div><div><br></div>                                    </body>
</html>