[solved] SetEnvIf Alternative

#5
per the link you provided, CF-IPCountry is a request header.

RewriteCond %{HTTP:CP-IPCountry} ^(CN|RU|IN)$
RewriteRule .* - [F,L]
Thanks this works but how can i bypass this rewrite rule if there is no CP-IPCountry :confused:
sometimes i need access to server without cloudflare protection and there won't be CP-IPCountry header
 
Top