setup htaccess maintenace page as a 503 static html page

This commit is contained in:
Bachir Soussi Chiadmi
2013-10-06 16:06:47 +02:00
parent 9faad4a27d
commit 5203118606
20 changed files with 2959 additions and 0 deletions

View File

@@ -116,6 +116,9 @@ DirectoryIndex index.php index.html index.htm
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]
RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145
RewriteRule !503 http://www.materio.com/503 [R=503,L]
# Rules to correctly serve gzip compressed CSS and JS files.
# Requires both mod_rewrite and mod_headers to be enabled.
<IfModule mod_headers.c>