标签: .htaccess
当HTTP_X_FORWARDED_FOR空白/空htaccess时,是否可以屏蔽流量?
HTTP_X_FORWARDED_FOR
htaccess
我试过这两个:
RewriteEngine On RewriteCond %{HTTP:X-FORWARDED-FOR} ^.{0}$ RewriteRule .* - [F]
和
RewriteEngine On RewriteCond %{HTTP:X-FORWARDED-FOR} ^$ RewriteRule .* - [F]