Browse Source

redirect multiple ip bug fix

Bachir Soussi Chiadmi 10 years ago
parent
commit
acbf965c77
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .htaccess

+ 2 - 2
.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.