RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?freephotobank.org*
RewriteCond %{REQUEST_URI} ^(.*)g2data_fpb_v3/(.*)$
RewriteRule ^(.*)$ visohotlink/hotlink.php [L]
Suede a dit:Bonjour
Regarde sur le forum de visohotlink. Tu y trouveras peut-etre des infos.
François
Norbert_404 a dit:Bonjour,![]()
Je recherche un équivalent de Visohotlink car, je me suis aperçu en consultant le PHP info que Lycos Webcenter n'a pas le mode rewrite installé :evil: :cry:
Je n'ai pas de probleme d'utilisation abusive de ma bande passante, je souhaite juste connaître les images utilisées par des tiers à des fins de partenariat (echanges de liens,...)
Merci beaucoup :wink:
url_rewriter.tags a=href, area=href, frame=src, form=, fieldset= a=href, area=href, frame=src, form=, fieldset=
Yes, of course :wink: J'attend la réponse (pourtant j'ai parcouru le phpinfo en large et en travers, pas de mode rewrite précisé :cry: )As-tu pensé à poser la question au support de webcenter?
Nous vous informons que le module mod_rewrite n´est pas activé. Merci de votre compréhension.
pcamliti a dit:Sur le site la demo donne:
Warning: database(/home/visohotl/www/visohotlink/includes/../configuration.php) [function.database]: failed to open stream: No such file or directory in /home/visohotl/www/visohotlink/includes/database.php on line 86
Pas très encourageant ! pourtant cela à l'air sympa... :?
try {ref = top.document.referrer;} catch(e) {
try {ref = document.referrer;} catch(E) {ref = '';}
}
document.writeln('<img src="'+ VisoHotlinkURL +'?ref='+escape(ref)+'&page='+escape(document.location)+'" alt="VisoHotlink" style="border:0" />');
var VisoHotlinkURL
Pour moi, je ne vois pas où est le problème mais n'étant pas spécialiste, j'ai peut être raté quelque chose.<!-- VisoHotlink -->
<a href="http://www.visohotlink.fr" title="VisoHotlink - Détection, gestion et analyse des hotlinks et référants"><script language="javascript" type="text/javascript">
var VisoHotlinkURL = "www.astuce-novice.com/visohotlink/referer.php";
</script><script language="javascript" src="www.astuce-novice.com/visohotlink/referer.js" type="text/javascript"></script>
<noscript>VisoHotlink - Détection, gestion et analyse des hotlinks et référants
<img src="www.astuce-novice.com/visohotlink/referer.php" alt="VisoHotlink" style="border:0" />
</noscript></a>
<!-- /VisoHotlink -->
OTP a dit:Salut,
J'ai un :
Code:Direct Access to this location is not allowed
à l'install.
C'est grave docteur ?
OTP
cyrilca a dit:@OTP : Tu n'as que ça comme erreur ? Chez moi, le script a été quand même installé malgré précisément ce message d'erreur. Une config de .htaccess plus tard, tout marchait parfaitement.
Merci beaucoup Schtroumpf !
Warning: filesize() [function.filesize]: Stat failed for /home.10.5/thewindp/www/news_en/windpower-news-465.php (errno=2 - No such file or directory) in /home.10.5/thewindp/www/.../hotlink.php on line 90
Warning: Cannot modify header information - headers already sent by (output started at /home.10.5/thewindp/www/admin/visohotlink/hotlink.php:90) in /home.10.5/thewindp/www/.../hotlink.php on line 254
Warning: fopen(/home.10.5/thewindp/www/news_en/windpower-news-465.php) [function.fopen]: failed to open stream: No such file or directory in /home.10.5/thewindp/www/.../hotlink.php on line 255
Warning: fpassthru(): supplied argument is not a valid stream resource in /home.10.5/thewindp/www/.../hotlink.php on line 256
Warning: fclose(): supplied argument is not a valid stream resource in /home.10.5/thewindp/www/.../hotlink.php on line 257
# detection hotlinks
# RewriteCond %{HTTP_REFERER} !^$
# RewriteCond %{HTTP_REFERER} !^http://(www.)?thewindpower.net*
# RewriteCond %{REQUEST_URI} ^(.*)/(.*)$
# RewriteRule ^(.*)$ visohotlink/hotlink.php [L]
RavN a dit:juste de l'empêcher
Benoit1 a dit:Et encore, il suffit de copier la source et l'ouvrir avec un soft en wysiwyg et le tour est joué...
OTP a dit:Benoit1 a dit:Et encore, il suffit de copier la source et l'ouvrir avec un soft en wysiwyg et le tour est joué...
C'est ce que je voulais dire, c'est juste un peu plus compliqué.
OTP a dit:Code:# detection hotlinks # RewriteCond %{HTTP_REFERER} !^$ # RewriteCond %{HTTP_REFERER} !^http://(www.)?thewindpower.net* # RewriteCond %{REQUEST_URI} ^(.*)/(.*)$ # RewriteRule ^(.*)$ visohotlink/hotlink.php [L]
Pour info, je gère le cache sur le serveur, je ne sais pas si ça peut intervenir.
➡️ Offre MyRankingMetrics ⬅️
pré-audit SEO gratuit avec RM Tech (+ avis d'expert)
coaching offert aux clients (avec Olivier Duffez ou Fabien Faceries)
Voir les détails ici