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)
-   -   Anti video hotlinking code (https://gfy.com/showthread.php?t=512838)

$5 submissions 09-05-2005 05:22 PM

Anti video hotlinking code
 
anyone wanna share or know a place where I can hook up? Or is the only alternative an automatic file renamer?

I prefer a solution that redirects direct links to the video to a page.

$5 submissions 09-05-2005 05:29 PM

bumping for more info

pawsregd 09-05-2005 05:36 PM

http://altlab.com/htaccess_tutorial.html

pawsregd 09-05-2005 05:39 PM

This is what I use to redirect people to my home page. Just replace yourdomain.com with your site and place that code your .htaccess file.

Code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?yourdomain.com.*$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|mpg|wmv|avi|psd)$ http://www.yourdomain.com [R,NC]


Krille 09-05-2005 05:51 PM

http://www.antihotlinking.com

prodiac 09-05-2005 06:03 PM

htaccess mod rewrite code won't work for it, as it does not pass a referrer to apache when opening a video. AHL is the best thing for this. Follow the link above :)

$5 submissions 09-05-2005 06:14 PM

Thanks for the hookup, guys. Much appreciated!


All times are GMT -7. The time now is 01:04 PM.

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