Python Projects in Users’ Home Directories with wsgi
I like the AddHandler approach more than what I was trying in this post. It is better since AddHandler will work in an .htaccess file. Which means this doesn’t require a new public_python folder and doesn’t require /p/ to be added to the url.
Before arriving at the solution in my post I tried using an .htaccess file and the directives I tried weren’t supported in .htaccess. I didn’t read the part about AddHandler so I missed that.
Something with either WSGIDaemonProcess or WSGIProcessGroup from the code in the blog post is making those applications work in daemon mode. It seems like any wsgi file that is touched will result in the code being reloaded for that project.
Read more comments by Greg Allard