Hello, I'm a Python developer trying to get my FastCGI application running under IIS. I'm currently developing on IIS 7.5 but I'd like my solution to work under 6.0 and 7.0 too.
I'm distributing my own copy of Python 2.6.4 with a patched socket module that implements fromfd() and dup(). I've also made some patches to Flup which use this to implement a multiprocess FastCGI TCP Server. I've got this working fine with Lighttpd on Windows and now I'm trying to get it work under IIS.
I can get a straight up CGI Python program working with IIS. I'd like to use FastCGI for obvious performance reasons. But it looks like right now the FastCGI functionality in IIS doesn't support TCP based FastCGI servers, or if it does it's not obvious how to configure this.
PHP seems to be the only currently supported scripting language for IIS FastCGI. It uses a php-cgi.exe program which seems to spawn and manage the subprocesses... or does it? Does the IIS manage spawning a pool of different php-cgi.exe processes?
I have my own Python program (modified flup) which manages FastCGI child process but it exposes a TCP interface. I'm open to the idea of IIS managing the process spawning for me but I'm not sure what interface to present. Named pipes? Stdin/stdout only? Is there any documentation available on what behaviors the IIS FastCGI plugin expects of handler exe or dll programs? If I get something working I'll post the solution.
thanks,
-Preston