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 stop hot linkers? (https://gfy.com/showthread.php?t=35400)

whoreans 07-12-2001 03:21 PM

htaccess to stop hot linkers?
 
can i use htaccess to prevent hotlinkers from hotlinking my videos? if so how? if its impossible.. are there any possible ways?

hotlinkers shall die a slow death!

Logic 07-12-2001 03:38 PM

Yep .htaccess works great... Try using this

ErrorDocument 404 /index.html
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|rm|RM) $ http://www.yourdomain.com [R,L]

------------------
Logic
It works most of the time


All times are GMT -7. The time now is 05:44 PM.

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