Instead of using wfastcgi to host your Python web server on IIS…

You can also check out another approach that simply starts your Python application, and redirect HTTP ports like a reverse proxy: Configure Python web apps for IIS#Configure the HttpPlatform handler.

There are several pitfalls if you are using wfastcgi, most notably, the FastCGI scriptProcessor name generated by wfastcgi-enable is incorrect if your Python executable path contains whitespace (e.g., “Program Files”).

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.