I've been getting referral spam on my site. I've tried several options to block it, but it still hits it. I think it has to do with being special characters on the referral?
This is the referral source: с.новым.годом.рф
This is my vhost section:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*C.новым.годом\.рф/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*xn--b1aube0e.xn--c1acygb\.xn--p1ai/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*C.новым.годом\-for\-website\.рф/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*xn--b1aube0e.xn--c1acygb\-for\-website\.xn--p1ai/ [NC,OR]
RewriteRule ^(.*)$ – [F,L]
I thunk it has to do with the special characters? Or maybe a problem with the regex? Please help.