how to use WSGI applications with apache

travis+ml-python at travis+ml-python at
Tue Oct 6 23:34:13 CEST 2009

Hi folks,

I'm not quite sure where to ask this, but this is my closest guess.

I've written a web service based on the newf micro-framework and it uses
wsgiref.simple_server.  I'm noticing that it's not returning response
codes properly (after fixing a bug in newf).  Instead, it just
closes the TCP connection silently.

I am assuming that I need to run it with a more sophisticated server,
and I eventually want to run it under apache, but I can't seem to
figure out how to do this.  Someone once showed me how, and it was
a simple line in the apache config.  But I can't figure it out how
to do again.

Any help?
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | 
If you are a spammer, please email john at to get blacklisted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 850 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list