vrflyer Posted April 14, 2003 Posted April 14, 2003 Bit confused on how to use this still.... If I type the web domain as http://www.yoursite.com , I get the re-direction to the "hot-link" protection PNG file. But if I type sam domain with a "/ " like this: http://www.yourstie.com/ , then it's ok ........ Am I using this wrong or should I use something else instead ? Ho can I prevent this? Quote
Guest zethilone Posted April 14, 2003 Posted April 14, 2003 TCH Rocks TCH Rocks TCH Rocks TCH Rocks Other way around for me! Quote
vrflyer Posted April 14, 2003 Author Posted April 14, 2003 TCH Rocks TCH Rocks TCH Rocks TCH Rocks Other way around for me! What the Heck ? Quote
TCH-JimE Posted April 14, 2003 Posted April 14, 2003 Hi, I have to admit, hotlinking does not work on my site. Unless Bill has come up with a solution Jim Quote
vrflyer Posted April 14, 2003 Author Posted April 14, 2003 Hi, I have to admit, hotlinking does not work on my site. Unless Bill has come up with a solution Jim You are right... when I checked to see if I was gettin' "HIT".... I noticed my GIF's & JPG's are showing up on other sites .... I thought to myself isn't , Hot-Link suppossed to help out here ? Sometimes it works sometime it doesn't ? What gives ? Quote
TCH-JimE Posted April 14, 2003 Posted April 14, 2003 Hi, Yes Hotlink is supposed to help but it doesn't. I believe its a fault with CPANEL itself as I have seen other places on the net having the same problem Jim Quote
Larry Posted April 14, 2003 Posted April 14, 2003 It does'nt work on mine either.. I can link to my pics from the forum or anywhere.. even tho i turned on hotlink protection Quote
vrflyer Posted April 16, 2003 Author Posted April 16, 2003 I found this, so far it works: Put all the images you wish to protect from being stolen (bandwidth-wise) in a separate directory. Create an ASCII text file named .htaccess and save it in that directory. Note that the name starts with a fullstop (or period) and is entirely in small letters (ie, lowercase). Cut and paste (unless you're using IE 6 in which case you just have to type it yourself) the following lines into that file: SetEnvIfNoCase Referer "^http://www.your-domain-name-here.com/" locally_linked=1 SetEnvIfNoCase Referer "^http://your-domain-name-here.com/" locally_linked=1 SetEnvIfNoCase Referer "^$" locally_linked=1 <FilesMatch "\.(gif|png|jpe?g)$"> Order Allow,Deny Allow from env=locally_linked </FilesMatch> Quote
TCH-JimE Posted April 16, 2003 Posted April 16, 2003 Intresting, does that work accross subdomains too? Jim Quote
vrflyer Posted April 17, 2003 Author Posted April 17, 2003 Intresting, does that work accross subdomains too? Jim YES, If you add more lines into the configuration part. EX: SetEnvIfNoCase Referer "^http://mail.your-domain-name-here.com/" locally_linked=1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.