如何在IIS下设置Python WSGI服务器? [英] How do you set up a Python WSGI server under IIS?

查看:376
本文介绍了如何在IIS下设置Python WSGI服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows环境中工作,希望将代码部署到IIS。同时,我想用Python编写代码。

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.

在读完IIS可以运行fastCGI应用程序后,我去了IIS站点,在该站点上详细介绍了如何获取IIS。 PHP已启动并正在运行,但无所不包。

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.

任何人是否有经验获得 Python 框架在IIS下运行 >使用其他普通的CGI?

Does anyone have experience getting a Python framework running under IIS using something other that plain old CGI?

如果可以,您可以解释一下以指导我进行设置吗?

If so can you explain to direct me to some instructions on setting this up?

推荐答案

不需要使用FastCGI。存在用于WSGI的ISAPI扩展

There shouldn't be any need to use FastCGI. There exists a ISAPI extension for WSGI.

这篇关于如何在IIS下设置Python WSGI服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆