I'm debugging a really weird problem with a mod_wsgi-deployed application resulting in Django/Apache (not yet known which) giving status 500 errors to some users instead of the correct 404. I want to exclude Apache from the debugging environment to determine which part of the setup is at fault and send my requests manually to the WSGI handler.
I suspect it's as easy as setting the environment and running python wsgi_handler.py
, but is this correct? What should the enviroment contain additionally? Any pointers to existing documentation?