Antifurto banda non funziona
Salve a tutti.
Mi trovo costretto ad aprire un secondo topic dopo quello di qualche giorno fa, ancora una volta per un problema che riguarda il file .htaccess.
Girovagando su internet ho trovato diversi siti che abusano dell'hotlinking di immagini hostate sul mio sito.
Come ad esempio questo:
http://www.italiamodding.it/showthre...y-name-is-Lian
L'immagine di cui viene fatto l'hotlink è questa:
http://www.techscene.it/portal/wp-co...o-Bitfenix.jpg
Cosa c'è che non va?
L'antifurto banda è attivo tuttavia le immagini vengono inserite in altri siti senza problemi.
Di seguito il mio file .htaccess:
Codice HTML:
RewriteEngine On
RewriteCond %{HTTP_HOST} techscene.altervista.org [nc]
RewriteRule ^(.*)$ http://www.techscene.it/$1 [r=301,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# # av:Toolbar
SetEnv AV_TOOLBAR 1
# # av:Words
SetEnv AV_WORDS 0
# # av:Banner
SetEnv AV_BANNER 0
# av:PHP-upload
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_input_time 300
# PHP-upload
# # av:php5-engine
AddHandler av-php54 .php
# av:AntiHotlink
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} \.(gif|jpe?g|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9\-\.]*)techscene\.altervista\.org
RewriteCond %{REQUEST_URI} !^\/_altervista_ht\/
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9\-\.]+)google\.
RewriteRule .*$ http://hl.altervista.org/split.php?http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
# AntiHotlink
Grazie in anticipo a tutti!