From f40e1013817325f3f00a8e4e08a452d02e14d1f3 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Sun, 9 Jun 2013 03:09:02 -0500 Subject: [PATCH] Update redirect exceptions --- .htaccess | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index f34032eb0..bcf670240 100644 --- a/.htaccess +++ b/.htaccess @@ -52,8 +52,9 @@ Header set X-Robots-Tag "noindex" env=INDEX_PAGE RewriteCond %{ENV:SCRIPT_URL} ^/(lobby/?)?$ RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https?:\/\/([a-z0-9-]+.)?(pokemonshowdown\.com|appjs) -RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ -RewriteCond %{HTTP:CF-Connecting-IP} !^173\.252\.196\.254$ +RewriteCond %{REMOTE_ADDR} !=127.0.0.1 +RewriteCond %{HTTP:CF-Connecting-IP} !=173.252.196.254 +RewriteCond %{HTTP:CF-Connecting-IP} !=198.27.67.31 RewriteRule .* - [E=LOBBY_REDIRECT:1] RewriteCond %{ENV:LOBBY_REDIRECT}%{ENV:P_SUFFIX} =1