Stopping your Rails app running under Phusion Passenger

fmedlin | programming | Wednesday, July 8th, 2009

This was really helpful. I was trying to simulate connection failures locally and by applying these Apache config changes and issuing ‘touch tmp/stop.txt’, the app throws returns a 503.

Ah, but you will need to restart Apache, ’sudo apachectl graceful’.

… it’s possible to use mod_rewrite to prevent users from accessing your site during the deployment. Try this in your Apache virtual host configuration file:

[From Nodeta » Blog Archive » Stopping your Rails application with Phusion Passenger]

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Powered by WordPress | Thanks to Roy Tanck for the theme