- Server operating system version
- Windows Server 2019
- Plesk version and microupdate number
- Plesk Obsidian Web Host Edition
The currently used rule is Atomic Advanced
I don't know if it is possible to use a custom rule to exclude bot agents ?
I don't know if it is possible to use a custom rule to exclude bot agents ?
SecRule REQUEST_HEADERS:User-Agent "@rx (?:AhrefsBot)" "msg:'AhrefsBot Spiderbot blocked',phase:1,log,id:7777771,t:none,block,status:403"
if ($http_user_agent ~ (MJ12bot|LieBaoFast|UCBrowser|MQQBrowser|Mb2345Browser|gumgum-bot|postmanruntime|ag_dm_spider|scrapy|chimebot|trendkite-akashic-crawler|ZoominfoBot|Sogou|ALittle|Keybot|Buck|curl|webprosbot|RestSharp|Snap|SemrushBot|AhrefsBot|DataForSeoBot)) {
return 403;
}