When I am upgrading a webapp I disable the webapp site and enable a maintenance site. To make sure the maintenance site serves all requests to the domain I add the following mod_rewrite directives to the VirtualHost:

RewriteEngine on
RewriteRule   ^/(.*)$  http://%{SERVER_NAME}/? [L]