Shorten: Added code for it to run on Apache with mod_wsgi.