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]