Bonjour,
j'ai installé ce script et j'ai un petit souci. Lorsque je regarde les sites où il y a des hotlink vers des images de mon site, plus aucune d'elles n'ai affichée.
J'ai essayé plusieurs types de réponse mais même lorsque je dis 'Envoyer les fichiers', les images ne s'affichent pas.
J'ai bien la liste de toutes les images hotlinkées dans l'administration, les urls sont corrects, mais pas les fichiers qui pointent tous vers /visohotlink/hotlink.php et lorsque je regarde ce fichiers, j'ai l'erreur suivante:
| Code: |
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: mime_magic: invalid type 0 in mconvert(). in /home/vplfan/www/visohotlink/hotlink.php on line 87
Warning: Cannot modify header information - headers already sent by (output started at /home/vplfan/www/visohotlink/hotlink.php:87) in /home/vplfan/www/visohotlink/hotlink.php on line 225
Warning: Cannot modify header information - headers already sent by (output started at /home/vplfan/www/visohotlink/hotlink.php:87) in /home/vplfan/www/visohotlink/hotlink.php on line 226
|
Voici mon fichier .htaccess que j'ai mis dans le seul répertoire à surveiller ->
http://www.vplfan.com/galerie/galleries/
| Code: |
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?vplfan.com*
RewriteCond %{REQUEST_URI} ^(.*)/galerie/galleries/(.*)$
RewriteRule ^(.*)$ http://www.vplfan.com/visohotlink/hotlink.php [L]
|
J'ai parcouru le forum et le support, mais je n'ai trouvé de solution à mon problème. Est-ce que qqun peut m'aider svp ?
Si ça peut aider, voici ma config php ->
http://www.vplfan.com/phpinfo.php
Message édité par: vplfan, à: 29/02/2008 à 10:34
Message édité par: vplfan, à: 29/02/2008 à 10:37