On Wed, 13 Sep 2006 14:56:34 -0400, Cameron Barrett camworld@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://(.+%5C.)?myspace%5C.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