PDA

View Full Version : Help me prevent hotlinking movies


cyberdude
10-02-2002, 01:52 PM
Hey everybody...

This is not the first time I am asking in forums about this issue, I am going to get crazy from all those people hotlinking my movies, and makes me pay more to my host provider.......

Hotlinking - I tried all those tutorials for preventing with .htaccess files and I just can't figure out how to do it , and I need help from someone who did this ...

My movies are in different directroies for example :
movies/movie1/movie.avi
movies/movie2/movie2.avi
and so on... every directory with Htmls working link to the movie in the the current directory.

I have apache , hosting in unix.

Please help me , I don't know what to do, anyway my website is acting like 100years old- some of the day It's not loading because the high requests for downloading movies...


Well, thanks for reading this till now......

Hope to get many comments about this issue..

Thanks all

Cyberdude.

Paul
10-02-2002, 04:47 PM
Hi,
Next time reply to the original thread, this will make things easier. All those tutorials should be simple, just put all the movies into a directory, create a .htaccess file and put the code it told you to in them. If you don't know how to do any part of that reply here and I or another member will try to help you more.
Good Luck,
Paul

cyberdude
10-02-2002, 04:54 PM
What good toturial can you recomend me ?

Cyberdude.

scoutt
10-02-2002, 11:33 PM
http://www.htmlforums.com/showthread.php?s=&threadid=17362

didn't you read? it is really easy.

RewriteEngine on
RewriteBase /move-directory
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
RewriteRule ^.*\.(mpeg|avi$ - [F]

what this actually does is it find waht the referrel URL is and if it doesn't match what you put as yourdoamin.com it will give them an error.

put it in the folder tha tyou have all your movies in. easy as that.

cyberdude
10-03-2002, 01:18 AM
Maybe because I used the Notpad it's not working for me ?

Cyberdude.

cyberdude
10-03-2002, 01:55 AM
Hey, First of all thanks for the help

I tried this 1043943 times and it didn't work - I think because I used download accelerator to try access my files from outsite.......

There is something to do with download-programs that download files from my page ?

Thanks again......