At
http://manuals.rubyonrails.com/read/chapter/103#page279
there are three lines to add to an apache configuration, in the
snippet "Apache rewrite support for disable_web [apache]"
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
That's rather nice.
I'm thinking about what should be done for xhr/AJAX requests, and POST
requests.
It seems the response should have headers "503 Service Unavailable".
How would those three lines need to be changed? Would that enable
proper POST and xhr handling?
Stephan
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---