Here's a quick and dirty Maintenance Mode. If you need to take the site down for any length of time (to back up the database, for example) this lets you block access to the site without needing to bring the site down or clear out the Mason cache. And it's as simple to unblock the site, too.

When the new code is in place, you can place the site into maintenance mode simply by creating a file called ".maintenance" in the root of the RT install:

# touch /opt/rt3/.maintenance

and taking it out of maintenance mode is as simple as removing the file:

# rm /opt/rt3/.maintenance

The effect is instantaneous in both cases.

See the wiki page for more details:

  http://wiki.bestpractical.com/index.cgi?MaintenanceMode

Enjoy!

--
Regards,


joe
Joe Casadonte
[EMAIL PROTECTED]

==========                                                  ==========
== The statements and opinions expressed here are my own and do not ==
== necessarily represent those of Oracle Corporation.               ==
==========                                                  ==========
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to