Sorry for resurrecting an old thread, but this is very close to what I
was wanting, and it wasn't *that* long ago ;-)

Adrian Holovaty wrote:

> I've never used Django with plain CGI, as I assume the performance
> would be bad, but if you're interested in experimenting, you should
> seek out some Python WSGI-to-CGI bindings, which would let you run any
> WSGI code as a CGI.
>
> I just did a quick search, and it looks like this is what you're after:
>
> http://darcs.idyll.org/~t/projects/qwsgi/wsgi.cgi

That appears to be from PEP-333
[http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side] and
I think it would only need subtle tweaking to get it to work. My stab
would be http://paste.e-scribe.com/967/, but I'm a little unsure about
the environment setup needed to get django flowing.

I would test this, but it's a little early for me (i.e. no apache
set-up just yet). Does this seem about right to people, in particular
lines 66-68?

At the moment I've popped this in my django/bin directory for future
testing.

Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to