Un pote m'a dit qu'on pouvait éviter le hotlinking grâce au htacces, mais je galère et ça ne marche toujours pas. Est ce que quelqu'un sait comment faire ?
Merci d'avance
Modérateur: Modérateurs
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?tonsite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpg|gif|png)$ /lehotlinkcestmal.jpg [L]SetEnvIfNoCase Referer “^http://(www.)?le_ndd.com” spam_ref=1
<FilesMatch “(.*)”>
order deny,allow
deny from all
Allow from env=spam_ref
<FilesMatch “(.*)”>Retourner vers Redirection et .htaccess
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité