Windows 下使用 fastcgi 方式运行 django

编程技术频道资讯:

1、安装让 django 提供 fastcgi 服务支持的必要组件: Flup Before you can start using FastCGI with Django, you’ll need to install flup_, which is a Python library for dealing with FastCGI. Make sure to use the latest Subversion snapshot of flup, as some users have reported stalled pages with older flup versions. easy_install http://www.saddi.com/software/flup/dist/flup-1.0-py2.5.egg 你也可以到这里选择安装 http://www.saddi.com/software/flup/dist/?C=M;O=D 运行如下命令创建一个 fastcgi 测试项目并运行 fastcgi 服务端 cd F:\pyprojects\ django-admin.py startproject fcgi cd fcgi manage.py runfcgi [...]