Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-11-2004, 07:32 AM   #1
Donners
Confirmed User
 
Join Date: Jun 2004
Posts: 689
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 07:38 AM   #2
Donners
Confirmed User
 
Join Date: Jun 2004
Posts: 689
Free tips not appreciated?
Donners is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 07:39 AM   #3
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
Quote:
Originally posted by Donners
Free tips not appreciated?
not with a sig like that
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 07:39 AM   #4
{fusion}
Confirmed User
 
Join Date: Sep 2003
Posts: 1,650
dude that code doesnt like it would protect your mpgs ect
{fusion} is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 07:41 AM   #5
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
I only do hotlinking protection for movies...I love feeding the seacrh engine imagebots
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 07:42 AM   #6
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
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
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 07:46 AM   #7
Donners
Confirmed User
 
Join Date: Jun 2004
Posts: 689
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.
Donners is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-11-2004, 09:11 PM   #8
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
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.
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.