Prevent Hotlinking and Bandwidth Theft

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

np ;)

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, 19:32, edited 1 time in total.

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Yes, that looks like the right edit to do.

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

I have do that and that is working :thumb: thanks Stoker agian