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 08-11-2002, 09:39 PM   #1
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,726
.htaccess to replace hotlinked pics?

So I have an .htaccess to block hotlinkers, but what if I want to replace the pic they are hotlinking with a gif that says "fuck you" etc.

Currently I use:

### Prevent "hot linking" of image files from other sites
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://yourdomain.xxx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.xxx/. *$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ - [F,L]
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 09:43 PM   #2
pr0
rockin tha trailerpark
 
pr0's Avatar
 
Industry Role:
Join Date: May 2001
Location: ~Coastal~
Posts: 23,088
Don't use "FUCK YOU" use a picture of a goat with a party hat.

Not quite sure where you can find a picture like that though......
pr0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 09:53 PM   #3
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
replace last line with this

RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.imagestation.com/picture/...1/fdb0e5c8.gif [R,L]
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 10:04 PM   #4
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,726
Not working for me even if I use URL or path to my own pic.
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 10:09 PM   #5
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Did you make sure the image is in a NOT protected area?
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 10:14 PM   #6
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,726
Yep that is it. I am being killed by some taiwanese hotlink BBS's.
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 11:28 PM   #7
darksoft
Confirmed User
 
Join Date: Mar 2001
Location: BumFuck Ohio
Posts: 768

So you'll continue to let them suck your bandwidth br providing them a picture to download instead of sending them elsewhere on the net... how brainy...
darksoft is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2002, 11:37 PM   #8
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Is there a way to hotlink protect and have a popup activate instead of a little red X?
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2002, 12:14 AM   #9
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,726
Quote:
Originally posted by darksoft
So you'll continue to let them suck your bandwidth br providing them a picture to download instead of sending them elsewhere on the net... how brainy...
If we redirect to an html page they won't see it as they are looking at embedded jpg's.

We now have 100mbs unmetered Cogent so I think we can serve up a few promotional gif's, even at a low probability of sale.

Anyways it is well worth it to send a special thank you to the guy who is doing it....one of our competitors.
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2002, 12:34 AM   #10
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by GFED
Is there a way to hotlink protect and have a popup activate instead of a little red X?
no
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2002, 12:35 AM   #11
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by Shoplifter
Yep that is it.
So it works now?
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2002, 03:00 PM   #12
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,726
Yep working cool.

Responding a bit to a previous post...If someone hotlinks your movies you can give them an ASF file that will send them to pop up purgatory. I am doing it right now hee hee.
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2002, 09:07 AM   #13
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Quote:
Originally posted by Shoplifter
Yep working cool.

Responding a bit to a previous post...If someone hotlinks your movies you can give them an ASF file that will send them to pop up purgatory. I am doing it right now hee hee.
Muahahaha! Good idea!
GFED 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.