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)
-   -   HotLink Help - por favor (https://gfy.com/showthread.php?t=241493)

TheJimmy 02-23-2004 08:21 PM

HotLink Help - Please
 
Hey there, I got some knob hotlinking some images of mine from a forum...


I will protect them in /images from here on out...

but what I want to konw for the time being is what is the mod_rewrite code or htaccess


that allows you to take their image linking asses to a 404.html of my choice, I want to smack these bitches up some first...


//puts on some prodigy...


thanks in advance...

Wiz 02-23-2004 08:35 PM

Bump!

guschi2k 02-23-2004 08:36 PM

that should work ;)


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomains.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg)$ http://www.redirect.com/404.html

TheJimmy 02-23-2004 08:44 PM

Quote:

Originally posted by guschi2k
that should work ;)


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomains.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg)$ http://www.redirect.com/404.html


thanks man, I'll try that

:thumbsup :thumbsup

guschi2k 02-23-2004 09:03 PM

you're welcome :winkwink:

it will show a broken image if that hotlinker does an img src and redirect to the 404 if he tries to open img url in the browser


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

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