fcgi.py for Windows needed (and socket.fromdf documentation bug found)
Bernhard Reiter
breiter at usf.Uni-Osnabrueck.DE
Tue Oct 10 17:51:25 EDT 2000
fcgi.py, which seem to be the way to do
fcgi scripts in python does not support Windows platforms.
It takes the stdin filedescriptor and wants to make a socket from it,
which does not work in windows.
Python documentation seems to have a bug: lacking that socket.fromfd
simply does not exist on Windows. (print socket.__doc__ also tells
us that this version does not do dup.... no wounder..)
It should mention that fromfd does not work in windows.
The problem now is that I want to use fcgi with, let's say apache
and mod_fastcgi on Windows-NT (mod_fastcgi does not work on windows98).
So I would need an implementation with the named pipes windows uses
and somehow trying to the one we need. Has anybody done that
already?
Hints would be nice.
Bernhard
ps. : I know that there is mod_python, but I want to use apache's
methods of keeping a couple of needed fcgi scripts around, so I can
get more than one python interpeter and they all shall do their
startup only once.
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
More information about the Python-list
mailing list