dalembertian
unread,Aug 6, 2009, 4:47:17 PM8/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PyISAPIe
Hello all,
I can't get PyISAPIe to work with my Django application (which is
working fine on Linux+Apache+mod_wsgi and on Windows with the Django
dev server).
I've tried several versions of PyISAPIe, with different results, below
are two of them (I'm using Python 2.5.4):
1.0.130
======
With this one I get a 'request handler failed', coming from:
File "C:\Python25\lib\site-packages\django\core\handlers\pyisapie.py",
line 138, in __call__
dispatcher.send(signal=signals.request_started)
AttributeError: 'module' object has no attribute 'send'
I have created a new "Web Service Extension" in IIS, and also
configured PyISAPIe.dll as a wildcard application map for my site.
Below is the exerpt from Isapy.py:
# Change this line!
import sys
sys.path.append(r'c:\mydir')
os.environ["DJANGO_SETTINGS_MODULE"] = 'myproject.settings'
With this version I can at least have a standard python file to work
(no Django).
1.1.0-rc4
=======
I can't get past a 500 error, not even with the "Info.py" example
(that is, without using Django). Again, I have created a new "Web
Service Extension" in IIS, and also configured PyISAPIe.dll as a
wildcard application map for my site. Isapy.py has the same exerpt
above, and with this version I understand I am not using pyisapie.py.
Any help is greatly appreciated!
Thanks,
Rubens