From acbf965c77f158aa020aa9c860b467d922a12f18 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sun, 6 Oct 2013 20:10:03 +0200 Subject: [PATCH] redirect multiple ip bug fix --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index adb44e35..e555cec9 100755 --- a/.htaccess +++ b/.htaccess @@ -117,8 +117,8 @@ DirectoryIndex index.php index.html index.htm RewriteRule ^ index.php [L] RewriteCond %{REMOTE_ADDR} !^86\.68\.188\.109 [OR] - RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145 [OR] - RewriteRule !maintenance http://www.materio.com/maintenance [R=302,L] + RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145 [NC] + RewriteRule !maintenance http://www.materio.com/maintenance [L,R=302] # Rules to correctly serve gzip compressed CSS and JS files. # Requires both mod_rewrite and mod_headers to be enabled.