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

Dody Gunawinata empirebuilder at gmail.com
Tue Sep 29 13:19:07 CEST 2009


If you are using IIS 6.0, try to use wildcard mapping to asp.net
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5c5ae5e0-f4f9-44b0-a743-f4c3a5ff68ec.mspx?mfr=true

<http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5c5ae5e0-f4f9-44b0-a743-f4c3a5ff68ec.mspx?mfr=true>

On Tue, Sep 29, 2009 at 10:42 AM, Markus Törnqvist <mjt at nysv.org> wrote:

> On Mon, Sep 28, 2009 at 10:58:19PM +0300, Markus T�rnqvist wrote:
> >On Mon, Sep 28, 2009 at 09:13:40AM -0600, Jeff Hardy wrote:
> >
> >But it gives me a 404, from IIS (not Django) so I'm guessing my
> >Web.config is bad.
> >
> ><!--
> >  <scriptMappings>
> >    <scriptMapping scriptName="/" physicalPath="C:\Program
> Files\IronPython 2.6\Lib\site-packages\mysite\hello.wsgi" />
> >  </scriptMappings>
> >-->
> ><wildcard physicalPath="C:\Program Files\IronPython
> 2.6\Lib\site-packages\mysite\hello.wsgi" callable="application" />
> >
> >I tried to Google quickly (but it might be more important I get this
> message
> >out) if I can make <scriptMapping scriptName="/"> recurse or is my
> wildcard
> >tag broken?
> >
> >I'll try to add the cookie url as a scriptMapping and Google more, tho
> help
> >is appreciated as always :)
>
> Hmh, it looks like a problem in IIS, it doesn't appear to even hit
> Web.config o_O
>
> I couldn't find anything on the net about getting the entire Default Web
> Site
> going as ASP.NET - would anyone here know?
>
> I'd hate to create virtual directories, because obviously a lot of the
> Django
> stuff is virtually handled by itself, and IIS doesn't apparently do
> regexp URL mapping :/
>
> Thanks!
>
> --
> mjt
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



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


More information about the Ironpython-users mailing list