Browse Source

redirect multiple ip bug fix

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

+ 2 - 2
.htaccess

@@ -116,8 +116,8 @@ DirectoryIndex index.php index.html index.htm
   RewriteCond %{REQUEST_URI} !=/favicon.ico
   RewriteRule ^ index.php [L]
 
-  RewriteCond %{REMOTE_ADDR} !^86\.68\.188\.109 [OR]
-  RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145 [NC]
+  RewriteCond %{REMOTE_ADDR} !^86\.68\.188\.109
+  RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145
   RewriteRule !maintenance http://www.materio.com/maintenance [L,R=302]
 
   # Rules to correctly serve gzip compressed CSS and JS files.