So I'm confused. If httpd.conf lists...
and wsgi has...
When I...
I don't see /home/user/webapps/myapp in the list, but only /home/user/webapps/myapp/mymodule.... why?!? asked 21 Dec '10, 15:58 edbdfish |
The WSGI file is only processed when apache is ran. You will have to add the paths you need to the system environment. Our documentation covers how to do this, http://docs.webfaction.com/software/python.html#adding-to-pythonpath-from-the-command-line answered 21 Dec '10, 17:20 johns As @johns said, you'll have to have your Python path set up prior to executing the WSGI file. I suggest you have a look at Spawning or other WSGI server alternatives that are more pythonic than apache+mod_wsgi.
(23 Dec '10, 14:57)
Filip Dupanovic
|