由于流量阻止了带有 .htaccess 的网站?

As traffic block a website with .htaccess?

大家好我找到了这段代码.htaccess 来屏蔽一个网站,但是不明白为什么第一行是[NC, OR] 而第二行link 不是? 如果我想阻止 2 个或更多网站的流量,那好吗?

RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} lsale02\.ru [NC,OR]
RewriteCond %{HTTP_REFERER} esoqld.ru\.ru  <------- **does not have [NC,OR]**
RewriteRule .* - [F]

如果您想拒绝访问更多网站,请像下面这样添加更多。小通知,每个点都需要转义:

RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} lsale02\.ru [NC,OR]
RewriteCond %{HTTP_REFERER} another\.ru [NC,OR]
RewriteCond %{HTTP_REFERER} esoqld\.ru\.ru [NC]   # last one doesn't need OR because there will be no more conditions.
RewriteRule .* - [F]  # returns a 403 [F]orbidden