Hi Matthew, I can't think of any solutions for this but I have some things to tell.
1) Have you set WSGIPythonHome directive? 2) Do you have multiple Python versions on your system? 3) What does your apache conf / virtualhost conf look like? 4) Can you also ask this question in mod_wsgi group? I don't know if Graham checks this group, he usually On Mar 18, 8:20 pm, MHCPU <[email protected]> wrote: > Perhaps someone could suggest where to look for this problem. I have two > applications. They are both using TurboGears 2.2.2. They're on the same > server, running with Apache and wsgi. There are two Apache instances, one > for each application, on different ports, with a reverse proxy in front. > One application works fine. The other times out and never seems to output > anything. Eventually this message appears in the Apache error log: > > [Mon Mar 18 12:25:51.240645 2013] [core:error] [pid 23586:tid > 139962542085888] [client 128.112.113.64:50129] End of script output before > headers: flynerves.wsgi > > For the problem application, replacing <myapplication>.wsgi with test.wsgi > works, so the basic WSGI and Apache installation seem fine. The > application works with paster, so the application seems fine. But when I > configure this application with Apache/WSGI it stops worksing. I put some > debug messages (writing to a file, not to stdout) in my RootController's > __init__ function, and it seems this function is never called. > > I have debug set to true in production.ini, and the Apache log level is > debug as well. Is there someplace I should look to see what's happening > (or rather not happening)? With some more debug messages (to a file) I can > see that functions in PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py > -- loadapp, loadobj, loadcontext, _loadconfig -- are being called. I'm not > sure where it gets lost after that. > > Thanks, > Matthew -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

