# Site held offline during incident response.
<FilesMatch "\.(php[0-9]?|phtml|phar|pht|phps|cgi|pl|py|so)$">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
  </IfModule>
</FilesMatch>

Options -Indexes
DirectoryIndex maintenance.html

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_URI} !^/maintenance\.html$
  RewriteRule ^ /maintenance.html [L]
</IfModule>
