Prevent Hotlinking and Bandwidth Theft

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

np ;)
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

I have a official domain name for my forum but I have now a problem whit this snippet

I hade this http://phpbb.grandtheftcrime.nl/index.php and I have now this http://www.phpbbpoints.com
I have now a domain name for my subdomain name

and now see I everywhere the stop hotlinking file

I have now this

Code: Select all

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^http://(.+.)?grandtheftcrime.nl/ [NC]
    RewriteCond %{HTTP_REFERER} !^$
    RewriteRule .*.(php)$ ../stop.png [L]
and I must change that to this

Code: Select all

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbbpoints.com/ [NC]
    RewriteCond %{HTTP_REFERER} !^$
    RewriteRule .*.(php)$ ../stop.png [L]
Last edited by Terr0r on 29 Aug 2011, 21:32, edited 1 time in total.
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Yes, that looks like the right edit to do.
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

I have do that and that is working :thumb: thanks Stoker agian
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
Post Reply