I work in a Windows environment and would prefer to deploy code to IIS. At the same time I would like to code in Python.
我在Windows环境中工作,并希望将代码部署到IIS。同时我想用Python编写代码。
Having read that IIS can run fastCGI application, I went to the IIS site where it describes in detail how to get PHP up and running but not much about anything else.
在阅读了IIS可以运行fastCGI应用程序后,我访问了IIS网站,详细描述了如何启动和运行PHP,但没有其他任何内容。
Does anyone have experience getting a Python framework running under IIS using something other that plain old CGI?
有没有人有经验使用其他普通的旧CGI在IIS下运行Python框架?
If so can you explain to direct me to some instructions on setting this up?
如果是这样,你能解释一下如何指导我做一些设置吗?
3 个解决方案
#1
23
There shouldn't be any need to use FastCGI. There exists a ISAPI extension for WSGI.
不应该使用FastCGI。 WSGI存在ISAPI扩展。
#2
7
Microsoft itself develops wfastcgi (source code) to host Python code on IIS.
Microsoft自己开发wfastcgi(源代码)来在IIS上托管Python代码。
#3
4
We can use iiswsgi framework to setup WSGI over IIS since it is compatible with IIS web server's FastCGI protocol.It's bundled with distutils for building, distribution and installing packages with the help of Microsoft Web Deploy and Web Platform Installer.
我们可以使用iiswsgi框架在IIS上设置WSGI,因为它与IIS Web服务器的FastCGI协议兼容。它与distutils捆绑在一起,用于在Microsoft Web Deploy和Web Platform Installer的帮助下构建,分发和安装包。
For more info refer the following link:
有关更多信息,请参阅以下链接:
Serving Python WSGI applications natively from IIS
从IIS本地提供Python WSGI应用程序
#1
23
There shouldn't be any need to use FastCGI. There exists a ISAPI extension for WSGI.
不应该使用FastCGI。 WSGI存在ISAPI扩展。
#2
7
Microsoft itself develops wfastcgi (source code) to host Python code on IIS.
Microsoft自己开发wfastcgi(源代码)来在IIS上托管Python代码。
#3
4
We can use iiswsgi framework to setup WSGI over IIS since it is compatible with IIS web server's FastCGI protocol.It's bundled with distutils for building, distribution and installing packages with the help of Microsoft Web Deploy and Web Platform Installer.
我们可以使用iiswsgi框架在IIS上设置WSGI,因为它与IIS Web服务器的FastCGI协议兼容。它与distutils捆绑在一起,用于在Microsoft Web Deploy和Web Platform Installer的帮助下构建,分发和安装包。
For more info refer the following link:
有关更多信息,请参阅以下链接:
Serving Python WSGI applications natively from IIS
从IIS本地提供Python WSGI应用程序