Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/12/2009, 19:34
Hats
 
Fecha de Ingreso: diciembre-2004
Mensajes: 418
Antigüedad: 19 años, 4 meses
Puntos: 2
evitar el hotlinking

X_X

ayuda!! quiero evitar el hotlink de unas imagenes en mi hosting, no tengo acceso a la configuracion de apache, asiq lo hice a travez de .htaccess pero no resulta.

<ifmodule mod_rewrite.c>

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://miweb.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://miweb.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.miweb.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.miweb.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com/reader/view/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com/reader/m/view/.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|png|bmp)$ - [F,NC,L]


</ifmodule>

que es lo puede ir mal?. codigos como redireccion de miweb.com a www.miweb.com, si funcionan.
__________________
Veo de todo un poco, pero siempre tengo mis favoritos xD. No subestimen a Flash!