semalt is a pretty annoying company. I'd like to keep them off my servers (and out of my analytics).
Here it shows how to block them through .htaccess
like this:
SetEnvIfNoCase Via evil-spam-proxy spammer=yes
SetEnvIfNoCase Referer evil-spam-domain.com spammer=yes
SetEnvIfNoCase Referer evil-spam-keyword spammer=yes
SetEnvIfNoCase Via pinappleproxy spammer=yes
SetEnvIfNoCase Referer semalt.com spammer=yes
SetEnvIfNoCase Referer poker spammer=yes
Order allow,deny
Allow from all
Deny from env=spammer
I'd rather handle do this once and for all in my /etc/apache
. How can I do that?
Quoted from from the manual on .htaccess files: