![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
I help you SUCCEED
Industry Role:
Join Date: Nov 2003
Location: The Pearl of the Orient Seas
Posts: 32,195
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I help you SUCCEED
Industry Role:
Join Date: Nov 2003
Location: The Pearl of the Orient Seas
Posts: 32,195
|
bumping for more info
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jun 2005
Location: Montreal eh
Posts: 2,290
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2005
Location: Montreal eh
Posts: 2,290
|
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Mar 2002
Location: Bangkok
Posts: 2,436
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
|
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
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
I help you SUCCEED
Industry Role:
Join Date: Nov 2003
Location: The Pearl of the Orient Seas
Posts: 32,195
|
Thanks for the hookup, guys. Much appreciated!
|
![]() |
![]() ![]() ![]() ![]() ![]() |