Options -Indexes
DirectoryIndex index.html

<IfModule mod_rewrite.c>
  RewriteEngine On
  # Maintenance mode: create a file "maintenance.flag" in /public to enable
  RewriteCond %{DOCUMENT_ROOT}/maintenance.flag -f
  RewriteCond %{REQUEST_URI} !/maintenance.html$
  RewriteRule ^.*$ /maintenance.html [L]
</IfModule>
