GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anti hotlinking tip (https://gfy.com/showthread.php?t=310926)

Donners 06-11-2004 07:32 AM

Anti hotlinking tip
 
I saw some guy selling an anti hotlinking script for some $$$. But why pay.
Create a .htaccess file with this

Code:

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] // yourdomain to allow hotlinkings
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
RewriteRule /*$ http://www.aftonbladet.com/ [L,R]  //redirect hotlinkers to this url


Donners 06-11-2004 07:38 AM

Free tips not appreciated?

bringer 06-11-2004 07:39 AM

Quote:

Originally posted by Donners
Free tips not appreciated?
not with a sig like that

{fusion} 06-11-2004 07:39 AM

dude that code doesnt like it would protect your mpgs ect

StarkReality 06-11-2004 07:41 AM

I only do hotlinking protection for movies...I love feeding the seacrh engine imagebots :winkwink:

bringer 06-11-2004 07:42 AM

Quote:

Originally posted by {fusion}
dude that code doesnt like it would protect your mpgs ect
i have one that does that
i sell cheap

Donners 06-11-2004 07:46 AM

Quote:

Originally posted by {fusion}
dude that code doesnt like it would protect your mpgs ect
I tried it with avi files and I'm pretty sure it protects ALL files.

latinasojourn 06-11-2004 09:11 PM

Quote:

Originally posted by Donners
I tried it with avi files and I'm pretty sure it protects ALL files.

interesting, i use the script from antihotlinking.com which does work for mpg files...

but are you saying:

hahahahahahahahahahahahahahahahahahahahahahahahaha hahahahahahahahahahahahahahahahahahahahahahaha=
RewriteEngine on
RewriteOptions inherit
RewriteCond %haha123;HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] // yourdomain to

allow hotlinkings
RewriteCond %haha123;HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
RewriteRule /*$ http://www.aftonbladet.com/ [L,R] //redirect hotlinkers to this url

hahahahahahahahahahahahahahahahahahahahahahahahaha hahahahahahahahahahahahahahahahahahahahahahaha=

replace "yourdomain.com" and "aftonbladet.com" with appropriate changes and this will work as written?

hmmm, someone test this please and advise, i am not a computer geek.


All times are GMT -7. The time now is 06:24 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123