[support] Stopping bandwidth-leeching from MySpace
    Pat Collins 
    pat at linuxcolumbus.com
       
    Wed Sep 13 19:12:28 UTC 2006
    
    
  
On Wed, 13 Sep 2006 14:56:34 -0400, Cameron Barrett <camworld at camworld.com>
wrote :
> One of my clients running an online community on top of Drupal is reporting
> that nearly 40% of their monthly bandwidth is used up by MySpace
> bandwifth-leechers.
> 
> If the leechers on MySpace were linking directly to a JPG, GIF, etc. I would
> know how to stop this using .htaccess
> 
> RewriteEngine On
> RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR]
> RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
> 
Something like 
RewriteRule /img_assist/gen/.*$ - [F]   
might work (untested).
http://rewrite.drbacchus.com/rewritewiki/RewriteRule   is a good guide.
Pat
    
    
More information about the support
mailing list