Ver Mensaje Individual
  #8 (permalink)  
Antiguo 18/05/2013, 10:17
Avatar de evasquez07
evasquez07
 
Fecha de Ingreso: marzo-2013
Ubicación: Santo Domingo
Mensajes: 175
Antigüedad: 11 años, 1 mes
Puntos: 7
Respuesta: Inconveniente con configuración de proteccción hotlink en cPanel

Cita:
Iniciado por Tedel Ver Mensaje
¿Y por qué usas CPanel para eso si con .htaccess basta?

Código:
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTP_REFERER} !^$
  RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com/.*$ [NC]
  RewriteCond %{HTTP_REFERER} !^http://(www\.)?facebook\.com/.*$ [NC]
  RewriteRule .*\.(gif|jpg)$ http://dominio.com/imagen-super-asquerosa-para-los-hotlinkers.jpg [R,NC,L]
</ifModule>
Ok, lo probaré en el transcurso del día de hoy y luego te responderé si me funcionó, gracias por la ayuda.