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)
-   -   .htaccess to replace hotlinked pics? (https://gfy.com/showthread.php?t=71759)

Shoplifter 08-11-2002 09:39 PM

.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]

pr0 08-11-2002 09:43 PM

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......

RK 08-11-2002 09:53 PM

replace last line with this

RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.imagestation.com/picture/...1/fdb0e5c8.gif [R,L]

Shoplifter 08-11-2002 10:04 PM

Not working for me even if I use URL or path to my own pic.

RK 08-11-2002 10:09 PM

Did you make sure the image is in a NOT protected area?

Shoplifter 08-11-2002 10:14 PM

Yep that is it. I am being killed by some taiwanese hotlink BBS's.

darksoft 08-11-2002 11:28 PM

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...

GFED 08-11-2002 11:37 PM

Is there a way to hotlink protect and have a popup activate instead of a little red X?

Shoplifter 08-12-2002 12:14 AM

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.

RK 08-12-2002 12:34 AM

Quote:

Originally posted by GFED
Is there a way to hotlink protect and have a popup activate instead of a little red X?
no

RK 08-12-2002 12:35 AM

Quote:

Originally posted by Shoplifter
Yep that is it.
So it works now?

Shoplifter 08-12-2002 03:00 PM

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.

GFED 08-14-2002 09:07 AM

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! :thumbsup


All times are GMT -7. The time now is 05:27 AM.

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