installed mod_wsgi and web.py 0.2
“Premature end of script headers” was getting caused by a collision with a cgi-script directive I had elsewhere in my config, as well as an incorrect mode setting, I think.
Now I’m on to python-xml… trying to generate a simple xml document. Switched to lxml, got it.
But now I’m wondering how to architect WSGI requests. Maybe I should use paste or cherrypy middleware? I’m just a little confused about the best way to instantiate and run web applications a daemons.