Explorar o código

redirect multiple ip bug fix

Bachir Soussi Chiadmi %!s(int64=10) %!d(string=hai) anos
pai
achega
acbf965c77
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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.