Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/02/2007, 08:55
Avatar de freegirl
freegirl
Colaborador
 
Fecha de Ingreso: octubre-2003
Ubicación: Catalonia
Mensajes: 4.334
Antigüedad: 20 años, 6 meses
Puntos: 156
Evitar hotlinking - Servidor Windows

Hola,

he estado buscando por la red como evitar el hotlinking. He encontrado muchos códigos para crear un .htaccess, tdos similares o iguales. Tipo:

Cita:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?tuweb.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|zip|rar|mp3)$ - [F,NC]
Cita:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?tuweb\.com/ [NC
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]
fuente: http://www.sangrefria.com/blog/2005/...el-hotlinking/


PEro a mi no me sirve. Si cambio el .htaccess con ese código no puedo entrar en la Web. Sale error de "IIS password. Page cannot displayed".

Nosé si este código no sirve para servidores Windows o qué...¿Alguien tiene alguna sugerencia?

saludos