Apache mod_rewrite maintenance.html woes December 15, 2007Posted by John Dewey in Apache, Configuration, Rails, WebServers.
The recipe contains a mod_rewrite rule, allowing staff to dynamically enable or disable maintenance mode. The mod_rewrite rule, however, does not work on Solaris, OS X or systems with a ‘/system’ directory.
I have notified the Pragmatic Studio folks, and Charles (who wrote the documentation hosted at http://mongrel.rubyforge.org/). Below are further details of the problem, along with a solution. Hopefully the word gets out.