This is primarily a reminder for myself, since I have a hard time finding this when I need it. Use this to restrict access to a site by IP address and display a friendly message to users when doing an upgrade or maintenance.
<LIMIT GET POST >
Order Deny,Allow
Deny from All
Allow from 192.168.0.1
</LIMIT>
ErrorDocument 403 "Site Upgrades, please check back later."