Skip to content

Instantly share code, notes, and snippets.

@CatEntangler
CatEntangler / .htaccess
Last active June 7, 2016 14:18 — forked from donnykurnia/.htaccess
Snipped for a maintenance mode setup in .htaccess
ErrorDocument 503 /maintenance.html
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /maintenance.html [R=503,L]