Skip to content

Instantly share code, notes, and snippets.

@Golit
Golit / .htaccess
Last active May 9, 2017 14:37 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
# BEGIN Server Maintenance
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^203\.0\.113\.10
RewriteCond %{REQUEST_URI} !maintenance.html$ [NC]
RewriteRule . /maintenance.html [L]
</IfModule>
# END Server Maintenance