为什么此htaccess代码使用12 Entry Process?

时间:2018-08-25 08:15:47

标签: php apache .htaccess bots

SeEnvIfNoCase User-Agent "^MJ12bot" not-allowed
SetEnvIfNoCase User-agent (MJ12bot) not-allowed=1
SetEnvIfNoCase User-Agent "^Mail.RU_Bot" not-allowed
SetEnvIfNoCase User-agent (Mail.RU_Bot) not-allowed=1
SetEnvIfNoCase User-Agent "^Mail.RU" not-allowed
SetEnvIfNoCase User-Agent "^Qwantify" not-allowed
SetEnvIfNoCase User-Agent "^YandexBot" not-allowed
SetEnvIfNoCase User-Agent "^YandexMobileBot" not-allowed
SetEnvIfNoCase User-Agent "^Seznambot" not-allowed
SetEnvIfNoCase User-Agent "^Daum" not-allowed
SetEnvIfNoCase User-Agent "^DotBot" not-allowed
SetEnvIfNoCase User-Agent "^Baidu" not-allowed
SetEnvIfNoCase User-Agent "^SemrushBot" not-allowed
SetEnvIfNoCase User-Agent "^BLEXBot" not-allowed
SetEnvIfNoCase User-agent (Mail.RU_Bot) not-allowed=1
SetEnvIfNoCase User-agent (Qwantify) not-allowed=1
SetEnvIfNoCase User-agent (SeznamBot) not-allowed=1
SetEnvIfNoCase User-agent (YandexBot) not-allowed=1
SetEnvIfNoCase User-agent (YandexMobileBot) not-allowed=1
SetEnvIfNoCase User-agent (Daum) not-allowed=1
SetEnvIfNoCase User-agent (DotBot) not-allowed=1
SetEnvIfNoCase User-agent (Baidu) not-allowed=1
SetEnvIfNoCase User-agent (SemrushBot) not-allowed=1
SetEnvIfNoCase User-agent (BLEXBot) not-allowed=1

我已在.htaccess文件中将其设置为阻止某些能够正常工作的漫游器,但使用了12 Entry Process。为什么? 哪个是正确的?

SeEnvIfNoCase User-Agent "^example" not-allowed

SetEnvIfNoCase User-agent (example) not-allowed=1

0 个答案:

没有答案