At one hosting company, they used to run python projects with fcgi. They had set it up so that when i changed django.fcgi file, which put django & my project on pythonpath, my project code was instantly recompiled.
Because of that a friend set up hosting for our shared project in his server using fastcgi. It has been set up and the python scripts execute as they should, but what we do not know is, how to set it up so that my project would be recompiled when my setup file has been changed.
Alan
Are you using
mod_fastcgi
ormod_fcgid
? Anyway, you should just kill the fastcgi process (or have the process commit "suicide"), and apache will respawn another one, loading the new file. I usemod_fastcgi
, and this is what I see:If you are using the external server, you have to restart the fastcgi server instead. This is official documentation for application reloading in fastcgi: http://www.fastcgi.com/docs/faq.html#application_reload