From 7e3313181e69e3cbd8f7b58a4dac42e1a61acab0 Mon Sep 17 00:00:00 2001 From: Rogier Neeleman Date: Sun, 10 Aug 2014 10:38:23 +0200 Subject: [PATCH] Semalt.com referer blocking added --- howto/apache_webserver_rewrite.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/howto/apache_webserver_rewrite.txt b/howto/apache_webserver_rewrite.txt index 0a1e94a..8c24e82 100644 --- a/howto/apache_webserver_rewrite.txt +++ b/howto/apache_webserver_rewrite.txt @@ -26,3 +26,14 @@ To simple forward your request to your internal server2 on port 8080: RewriteEngine On RewriteRule ^/app/(.*)$ http://server2:8080/app1/$1 [P] + +The website semalt.com is spamming us with referers that actually don't exsists. +To clean you statistics and send the basterts back to where they came from: + + # Block semalt.com referer + RewriteEngine on + RewriteCond %{HTTP_REFERER} semalt\.com [NC,OR] + RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*semalt\.com [NC,OR] + RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*kambasoft\.com [NC,OR] + RewriteCond %{HTTP_REFERER} youtube-downloader\.savetubevideo\.com [NC] + RewriteRule (.*) http://www.semalt.com [R=301,L]