Hey!
The currently used rule is Atomic Advanced.
Is using a custom rule to exclude bot agents possible?
SecRule REQUEST_HEADERS:User-Agent "@rx (?:AhrefsBot)" "msg:'AhrefsBot Spiderbot blocked',phase:1,log,id:7777771,t:none,block,statu s:403"
if ($http_user_agent ~ (MJ12bot|LieBaoFast|UCBrowser|MQQBrowser|Mb2345Bro wser|gumgum-bot|postmanruntime|ag_dm_spider|scrapy|chimebot|tr endkite-akashic-crawler|ZoominfoBot|Sogou|ALittle|Keybot|Buck|curl |webprosbot|RestSharp|Snap|SemrushBot|AhrefsBot|Da taForSeoBot)) {
return 403;
}
The currently used rule is Atomic Advanced.
Is using a custom rule to exclude bot agents possible?
SecRule REQUEST_HEADERS:User-Agent "@rx (?:AhrefsBot)" "msg:'AhrefsBot Spiderbot blocked',phase:1,log,id:7777771,t:none,block,statu s:403"
if ($http_user_agent ~ (MJ12bot|LieBaoFast|UCBrowser|MQQBrowser|Mb2345Bro wser|gumgum-bot|postmanruntime|ag_dm_spider|scrapy|chimebot|tr endkite-akashic-crawler|ZoominfoBot|Sogou|ALittle|Keybot|Buck|curl |webprosbot|RestSharp|Snap|SemrushBot|AhrefsBot|Da taForSeoBot)) {
return 403;
}
Comment