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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-21-2008, 06:28 AM   #1
DirtyProfits
Confirmed User
 
Join Date: May 2005
Posts: 1,885
Need .htaccess help

What is the correct code to block a site from embedding and hotlinking your movies? I just found out that the .htaccess code I was using somehow doesn't work.
DirtyProfits is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 06:29 AM   #2
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
If you wanted to greedily keep your files for yourself, you should have voted Ron Paul.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 06:35 AM   #3
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Damn thing timed out. Oh well. Here.

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$     [NC]
RewriteRule .*\.(gif|jpg|jpeg|wmv|mpg)$ - [F,NC]
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 06:51 AM   #4
DirtyProfits
Confirmed User
 
Join Date: May 2005
Posts: 1,885
Hm that's exactly what I use, only difference that I only have [F] and not [F,NC]. What does NC mean? Thanks by the way.
DirtyProfits is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 06:52 AM   #5
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
NC is "No Case", meaning it works for upper, and lowercase. If you named your files '.JPG' with yours, as you describe it, they would not be protected.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 06:57 AM   #6
sumphatpimp
Confirmed User
 
Join Date: Aug 2002
Posts: 5,235
.htaccess can not be used to block movies since there is no referer.
Google it.
sumphatpimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 07:03 AM   #7
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by sumphatpimp View Post
.htaccess can not be used to block movies since there is no refferer.
Google it.
That generally affects Windows Media Player; and for that, I suggest a passthru script, or using a prerolled protection mechanism that requires a login before you access, such as StrongBox.

However, he hasn't expliticly stated what/where his content was being stolen.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 07:21 AM   #8
DirtyProfits
Confirmed User
 
Join Date: May 2005
Posts: 1,885
Content hotlinked from movie galleries. I am using a hotlink protection on my other server but on the new one I did not. Well problem solved thus far, blocked the IP of the site. By the way, why did I see the url of the hotlinking sit in my affiliate program ref stats but not on Google Analytics? I mean if my .htaccess did not work with movies how did they get redirected to the sponsor?
DirtyProfits is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 07:25 AM   #9
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,628
Quote:
Originally Posted by GrouchyAdmin View Post

However, he hasn't expliticly stated what/where his content was being stolen.
Quote:
Originally Posted by DirtyProfits View Post
What is the correct code to block a site from embedding and hotlinking your movies? I just found out that the .htaccess code I was using somehow doesn't work.


nope, he sure wasn't specific enough ....
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 07:28 AM   #10
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Wow, I skimmed a post that didn't earn me any money.

How's your ratio for getting new clients from the states, by the way?
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 07:48 AM   #11
DirtyProfits
Confirmed User
 
Join Date: May 2005
Posts: 1,885
Quote:
Originally Posted by GrouchyAdmin View Post
Wow, I skimmed a post that didn't earn me any money.

How's your ratio for getting new clients from the states, by the way?
From the United States? What do you exactly mean, signups?
DirtyProfits is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 07:52 AM   #12
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by DirtyProfits View Post
From the United States? What do you exactly mean, signups?
My reply was to DirectFiesta, actually.

He made some rather purile anti-American sentiment threads on nearly a daily basis in the past, so for awhile, I'd follow his posts begging for people to use him as a virtualhost with his prior statements cut-and-pasted where prospective clients could see it.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2008, 12:18 PM   #13
Net Money
Confirmed User
 
Join Date: Dec 2007
Posts: 539
The only thing you need to know:

http://www.htaccesstools.com/hotlink-protection
Net Money is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.