Isn't the most common reason for such a middleware caused by restarting a Rails process. If so, wouldn't this middleware be shut off? -- Yehuda 2009/2/19 Harry Vangberg > > I needed some easy way to show a maintenance page while doing stuff, > and I can't be bothered with mod_rewrite and heaps of documentation, > so this piece of (stupidly named) middleware checks wether a given > file exists, and if it does that is served for all requests, otherwise > the request is just passed on down the chain. > > use Rack::Backstage('tmp/maintenance.html') > > It's here: > http://github.com/ichverstehe/rack-contrib/commit/d3610732b8a37a1e97befdb75bfd3824767a9bf9 -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325