我已在htaccess文件中添加了以下代码,但 enow.com 的用户仍然可以访问我的网站。为什么会这样?
RewriteEngine On
RewriteCond %{HTTP_REFERER} ecosia\.org [NC,OR]
RewriteCond %{HTTP_REFERER} hao123\.com [NC,OR]
RewriteCond %{HTTP_REFERER} buenosearch\.com [NC,OR]
RewriteCond %{HTTP_REFERER} findgofind\.org [NC,OR]
RewriteCond %{HTTP_REFERER} zlsite\.com [NC,OR]
RewriteCond %{HTTP_REFERER} searchlock\.com [NC,OR]
RewriteCond %{HTTP_REFERER} monstercrawler\.com [NC,OR]
RewriteCond %{HTTP_REFERER} start\.fyi [NC,OR]
RewriteCond %{HTTP_REFERER} searchencrypt\.com [NC,OR]
RewriteCond %{HTTP_REFERER} enow\.com [NC,OR]
RewriteCond %{HTTP_REFERER} searchprivacy\.co [NC,OR]
RewriteCond %{HTTP_REFERER} my-seo-promotion-service\.com [NC,OR]
RewriteCond %{HTTP_REFERER} perform-like-alibabaity\.info[NC,OR]
RewriteCond %{HTTP_REFERER} worldwide-seo-services\.com [NC,OR]
RewriteCond %{HTTP_REFERER} accueil-search\.com [NC,OR]
RewriteCond %{HTTP_REFERER} goq-it\.com [NC,OR]
RewriteCond %{HTTP_REFERER} home-hp-search\.com [NC,OR]
RewriteCond %{HTTP_REFERER} dataxu\.com [NC,OR]
RewriteCond %{HTTP_REFERER} gamer\.com[NC,OR]
RewriteCond %{HTTP_REFERER} when\.com [NC,OR]
RewriteCond %{HTTP_REFERER} mysearch\.com [NC,OR]
RewriteCond %{HTTP_REFERER} info\.com [NC,OR]
RewriteCond %{HTTP_REFERER} monstercrawler\.com [NC]
RewriteRule .* - [F]
答案 0 :(得分:0)
尝试:
RewriteEngine On
RewriteCond %{HTTP_REFERER} .*ecosia\.org.*$ [NC,OR]
...
RewriteCond %{HTTP_REFERER} .*monstercrawler\.com.*$ [NC]
RewriteRule .* - [F]