Foros del Web » Administración de Sistemas » Apache »

Problema con hotlink

Estas en el tema de Problema con hotlink en el foro de Apache en Foros del Web. tengo el siguiente código en el .htaccess @import url("http://static.forosdelweb.com/clientscript/vbulletin_css/geshi.css"); Código Apache: Ver original RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?misitio.com(/)?.*$ [NC] RewriteRule \.(gif|jpg|png)$ – ...
  #1 (permalink)  
Antiguo 31/01/2013, 20:13
 
Fecha de Ingreso: febrero-2011
Mensajes: 233
Antigüedad: 13 años, 3 meses
Puntos: 4
Problema con hotlink

tengo el siguiente código en el .htaccess

Código Apache:
Ver original
  1. RewriteEngine on
  2. RewriteCond %{HTTP_REFERER} !^$
  3. RewriteCond %{HTTP_REFERER} !^http://(www\.)?misitio.com(/)?.*$ [NC]
  4. RewriteRule \.(gif|jpg|png)$ – [F]
  5.  
  6. RewriteRule \.(gif|jpg|png)$ http://misitio.com/imagen.jpg [R,L]


Todo bien con algunas imágenes, pero no se ve mi logo en la misma web, se ve la imagen "http://misitio.com/imagen.jpg"... a qué se debe el error?

Etiquetas: hotlink, htaccess, rewrite, rewriterule
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:40.