Tag: htaccess - Webeame Snippets


Añadir snippet

Tag: htaccess



htaccess para protegerse contra el Hotlinking

Visto en http://www.perraco.com/protegete-de-manera-efectiva-contra-el-hotlinking/
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4.  
  5. # Options +FollowSymlinks
  6.  
  7. RewriteCond %{REQUEST_FILENAME} .(jpg|png|gif|bmp)$ [NC]
  8. RewriteCond %{HTTP_REFERER} !^$ [NC]
  9. RewriteCond %{HTTP_REFERER} !tu_ web.com [NC]
  10. RewriteCond %{HTTP_REFERER} !feedburner.com [NC]
  11. RewriteCond %{HTTP_REFERER} !bloglines.com [NC]
  12. RewriteCond %{HTTP_REFERER} !newsgator.com [NC]
  13. RewriteCond %{HTTP_REFERER} !netvibes.com [NC]
  14. RewriteCond %{HTTP_REFERER} !newsalloy.com [NC]
  15. RewriteCond %{HTTP_REFERER} !gritwire.com [NC]
  16. RewriteCond %{HTTP_REFERER} !rojo.com [NC]
  17. RewriteCond %{HTTP_REFERER} !blogrovr.com [NC]
  18. RewriteCond %{HTTP_REFERER} !alesti.org [NC]
  19. RewriteCond %{HTTP_REFERER} !fastladder.com [NC]
  20. RewriteCond %{HTTP_REFERER} !google. [NC]
  21. RewriteCond %{HTTP_REFERER} !yahoo. [NC]
  22. RewriteCond %{HTTP_REFERER} !msn. [NC]
  23. RewriteCond %{HTTP_REFERER} !ask. [NC]
  24. RewriteCond %{HTTP_REFERER} !altavista. [NC]
  25. RewriteCond %{HTTP_REFERER} !attensa.com [NC]
  26. RewriteCond %{HTTP_REFERER} !search?q=cache [NC]
  27. RewriteRule (.*) http://www.otro_servidor.com/imagen_alt.jpg [NC,L]
  28.  
  29. </IfModule>

En Otros hotlinking htaccess apache por admin hace on 30/1/08 | Comentarios