[BangPypers] web.py on apache and windows

Manoj NV createam at gmail.com
Mon Mar 22 10:44:10 CET 2010


Hi,

I'm trying to use web.py on apache, but sadly I'm on windows and getting
into lot of issues.

I'm using the instructions here http://webpy.org/cookbook/fastcgi-apache for
the configuration.

Now I get these errors in the apache error logs
[Mon Mar 22 15:03:47 2010] [info] mod_fcgid: server
TH0452.thbs.india.com:C:/Python26/python.exe(1384)
started
[Mon Mar 22 15:03:47 2010] [warn] [client 127.0.0.1] (OS 109)The pipe has
been ended.  : mod_fcgid: get overlap result error
[Mon Mar 22 15:03:47 2010] [error] [client 127.0.0.1] Premature end of
script headers: code.py
[Mon Mar 22 15:03:52 2010] [info] mod_fcgid: process
C:/Python26/python.exe(1384) exit(communication error), return code 1


If I run my code.py independently, I get,

Status: 404 Not Found
Content-Type: text/html

not foundWSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!

which looks fine to me.

Anyone faced these issues and have any solutions/workarounds for this?

Thanks,
Manoj


More information about the BangPypers mailing list