答案 0 :(得分:1)
您可以将此单个组合规则与多个OR
子句一起使用:
RewriteEngine On
RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC,OR]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*uptime-as\.net [NC,OR]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*uptime-us\.net [NC,OR]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*uptime-eu\.net [NC,OR]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*hulfingtonpost\.com [NC]
RewriteRule ^ - [F,L]