Running cap deploy:web:disable, generates a file public/system/maintenance.html
How do a direct all requests to the site to this page?
I've tried a number of rewrites in .htaccess (found googling), both with and without mongrel running, such as
RewriteEngine On
RewriteCond %{REQUEST_URI} !\.(css|jpg|png)$
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
When mogrels running, the site is live (.htaccess is ignored)
But when i stop the mongrels, I get a generic 503 message
Whats the correct way to do this?