/ Web Development

Article ID:  00192
Rating:  2.9 / 5.0 (63 votes)
Views:  4969
Created:  Feb-2-2007

Did you find this article helpful?

Print Article

How To Reload A Fastcgi Process


How do I reload a fastcgi process if I'm using using python/django or Ruby On Rails?


If you change the code of your site, to make apache re-load your django application, you do not need to restart the server. Simply re-upload or edit your ``mysite.fcgi`` stub in such a way that the timestamp on the file will change. When apache sees that the file has been updated, it will restart your fastcgi application for you.

If you have access to a command shell on a unix system, restarting the server can be done with the ``touch`` command::

touch mysite.fcgi

Related Articles