On Mon, Mar 31, 2008 at 10:34 AM, Nate Vack <[EMAIL PROTECTED]> wrote: > You'd probably ask Apache / ngnix to do that, actually, via some > mod_rewrite-fu I can't muster this morning :/ > > Cheers, > -Nate > > > On Mon, Mar 31, 2008 at 11:28 AM, James Testa <[EMAIL PROTECTED]> wrote: > > Does someone know how to tell mongrel_rails to read the > > public/system/maintenance.html file?
Generally, yes. If you are doing some sort of maintenance, you probably want that served at the highest level possible. i.e. at the web server level. Swiftiply w/ rewrite support (totally experimental, but will probably end up in a release soon) :rewrites: - :match: "*" :sub: "/public/system/maintenance.html" Apache: RewriteEngine On RewriteRule * /public/system/maintenance.html (or something similar; unless you do it a lot, always check the rewrite rule docs when writing them) Kirk Haines _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users