Skip to content

Commit

Permalink
Update redirect exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cathyjf committed Jun 9, 2013
1 parent 5355b8e commit f40e101
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f40e101

Please sign in to comment.