Posted by sean on April 1, 2006 at 10:39 pm in Website Stuff with No Comments

Before you read this, if you don’t know/care about computers or website design, ignore this blog as it’ll just confuse your brain…

I need help, anyone reading this a whiz on Unix or know about .htaccess?

I am having trouble with people hot-linking the images on my website, consequently stealing my bandwidth which I now pay for. The main offender is – bastards running their crappy pages and too cheapskates to pay for hosting…

Now, I can block ALL domains from hotlinking but that causes problems for genuine visitors who are running privacy software – something I do not want. I just want to block specific domains.

There are many websites suggesting code, my website hosts Made2Own have also been very helpful with this problem and have suggested similar code, I just can’t get it to work though. I have uploaded the .htaccess file correctly, using ASCII and the CHMOD settings are correct.

Here is the code I am using (which doesn’t work)

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(www.)? [NC]
RewriteRule .* – [F]

Any reason why this would not work? It’s not working for me, any other suggestions? Please contact me, I would be very grateful. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

No trackbacks yet.

Posts with similar tags

No post with similar tags yet.

Posts in similar categories

  • About Me

    So you stumbled across my blog. No doubt after searching for something bizarre on Google. Before you hit that 'Back Button', why not stay and have a read for a few minutes?

    If you are after a website which gives advice on how to hack an iPhone X, download the latest Steven Seagal movie, or view nudy ladies, you've come to the wrong place and may now press 'Back'.

    However, if you would like a lifestyle blog, written by a 30-something chap, living in Bath (England), feast your eyes on this.

    You won't discover how to copy PlayStation 4 games. What you will find is a blog, covering life in the West Country, the highs and lows of supporting two unsuccessful football teams, while sharing a house with a wife and rabbit.

    All written by a man, somewhere on the sanity-scale between normal and eccentric.
  • Archives