简体   繁体   English

几乎在那里安装了Django / Python / PyISAPIe / IIS7,但是消息“检测到可能的递归”-配置问题

[英]Almost there installing Django/Python/PyISAPIe/IIS7, but message “Possible recursion detected” - configuration question

I'm installing Django onto a Windows system with Python 2.6 and IIS7 using PyISAPIe, and I'm so close I can taste it. 我正在使用PyISAPIe将Django安装到具有python 2.6和IIS7的Windows系统上,并且非常接近,我可以品尝到它。 Creating a little Django project and running it gives me: 创建一个小Django项目并运行它会给我:

Possible recursion detected! 检测到可能的递归! You probably did a passthrough with PyISAPIe configured as an application map instead of a wildcard map. 您可能将PyISAPIe配置为应用程序映射而不是通配符映射进行了传递。

From various other postings, I get the impression it has to do with the handler mappings in IIS, and specifically how PyISAPIe is mapped to handle calls, but I'm at a loss beyond that point. 从其他各种帖子中,我得到的印象是它与IIS中的处理程序映射有关,尤其是与PyISAPIe如何映射以处理调用有关,但我不知所措。 One blog suggests changing PyIsapie.py to reflect a different error, but that just shifts the reaction around, not corrects the problem. 一个博客建议更改PyIsapie.py以反映另一个错误,但这只是改变了反应,不能纠正问题。 In IIS7 PyISAPIe is set to * (complete wildcard) mapped to the .dll. 在IIS7中,PyISAPIe设置为*(完整的通配符),映射到.dll。 Any ideas? 有任何想法吗?

The question is kinda old but since I also ran into this prob and just solved it, maybe for future references I should mention that for the PyISAPIe script mapping someone must do the following in the properties of his virtual directory(home directory->configuration): 这个问题有点老了,但是由于我也遇到了这个问题并刚刚解决了它,也许为了将来的参考,我应该提到对于PyISAPIe脚本映射,有人必须在其虚拟目录的属性中执行以下操作(主目录->配置) :

1) Add application extension 1)添加应用程序扩展

- executable:browse the `PyISAPIe.dll`, extension: `.py`

2) Insert wildcard application maps 2)插入通配符应用程序映射

- browse the `PyISAPIe.dll` (untick: Verify that file exists)

Hope it helps! 希望能帮助到你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM