Disabling Image Hotlinking with Apache

I had a big bump in ad clicks on one of my blogs earlier, and I was wondering if something in particular was driving it (the answer is, not that I can tell). I hadn’t check the logs for the blogs in quite a while, and man are there are lot of people hotlinking to pictures I’ve posted!

Now if you want to link to pictures I’m using, that’s fine, but host them yourself or give me a link back. The bandwidth your link to the files I host costs me money and I’d like at least a link so that people might find my site…

It’s been a while since I cobbled together the appropriate Apache configuration to block hotlinking, so I did some Googling and stumbled upon a very helpful web site that I want to share. You enter your blog’s URL and a few other pieces of information and it generates Apache configuration commands to block hotlinking for you.

Now the question is… where to send the hotlinks… a goatse picture is very tempting but a brief warning would probably be better.

Via: HTML Basix – htaccess code generator – disable hotlinking
[tags]bandwidth, hotlinking, configuration[/tags]

| Print This Post Print This Post

Leave a Reply

You must be logged in to post a comment.

Sponsored Links

Warning: include(/home/romkey/cache/apocablog.html) [function.include]: failed to open stream: Permission denied in /web/bfr/www/blog.blueforestresearch.com/wp-content/themes/bfrblog2/leftbar.php on line 50

Warning: include() [function.include]: Failed opening '/home/romkey/cache/apocablog.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /web/bfr/www/blog.blueforestresearch.com/wp-content/themes/bfrblog2/leftbar.php on line 50

Warning: include(/home/romkey/cache/shinythings.html) [function.include]: failed to open stream: Permission denied in /web/bfr/www/blog.blueforestresearch.com/wp-content/themes/bfrblog2/leftbar.php on line 56

Warning: include() [function.include]: Failed opening '/home/romkey/cache/shinythings.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /web/bfr/www/blog.blueforestresearch.com/wp-content/themes/bfrblog2/leftbar.php on line 56