[IronPython] IronPython/NWSGI 0-byte 200/404 response with HelloWorld?

Dody Gunawinata empirebuilder at gmail.com
Tue Sep 29 17:08:07 CEST 2009


Cool. Thanks. I'll try this tonight and see what kind of mind bombs I will
encounter :)

2009/9/29 Markus Törnqvist <mjt at nysv.org>

> >2009/9/29 Markus T�rnqvist <mjt at nysv.org>
> >> I navigate to http://localhost/
> >> Which redirects to http://localhost/set_test_cookie/
> >> This is all in my application, it's expected to test for cookies.
> >>  <wildcard physicalPath="C:\Program Files\IronPython
> >> 2.6\Lib\site-packages\mysite\hello.wsgi" callable="application" />
> >> That's what I have now.
>
> On Tue, Sep 29, 2009 at 04:52:24PM +0200, Dody Gunawinata wrote:
> >This looks like nwsgi fails to bind to wildcard request although weirdly
> it
> >does respond to the first root request. Isyour hello.wsgi a Django
> >application?
>
> Sure, here are the contents:
> import os
> os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
>
> import django.core.handlers.wsgi
>
> application = django.core.handlers.wsgi.WSGIHandler()
>
> PS.
> Because osEnviron or whatever is now disabled, this seems to be the
> only way to do IronPython. I even think mr Hardy recommended this way.
>
> So, uhh, what's next? :/
>
> Thanks!
>
> --
> mjt
>
>


-- 
nomadlife.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090929/832fcdde/attachment.html>


More information about the Ironpython-users mailing list