Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/08/2009, 20:28
iovan
 
Fecha de Ingreso: septiembre-2007
Ubicación: PyRoot
Mensajes: 1.515
Antigüedad: 16 años, 7 meses
Puntos: 188
evitar Hotlink con htaccess

Amigos tengo un problema

quiero evitar el hotlink con htaccess estoy usando este codigo

Código:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://localhost$ [NC]
RewriteCond %{HTTP_REFERER} !^http://localhost/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.localhost$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.localhost/.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|png|bmp)$ http://sobrelanoticia.files.wordpress.com/2008/12/robar-para-tontos.jpg [R,NC,L]
lo guardo con la terminacion .htaccess y cuando intento accesar al direcotorio raiz (donde coloco ese htaccess) me tira este error:

500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


¿Que estoy haciendo mal? muchas gracias.
__________________
Si quieres agradecer el triangulo obscuro de la parte derecha debes presionar +.