Ho attivato l'Antifurto banda sul mio sito, e ho visto che nel .htaccess sono stata aggiunte le seguenti righe:
funziona solo con le immagini o volendo posso aggiungere qualsiasi estensione?Codice:# av:AntiHotlink RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} \.(gif|jpe?g|png)$ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://([a-z0-9\-\.]*)stefanodurso\.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
Per esempio, se io modificassi la terza linea in:
RewriteCond %{REQUEST_URI} \.(gif|jpe?g|png|pdf|epub|odt)$ [NC]
verrebbero "bloccati" anche i file pdf, epub e odt?
Grazie

LinkBack URL
About LinkBacks

