Hi there,
I have an older version of coppermine (and, yes, I know I should upgrade, but just give me a few hours/days to do it, and I will - if ever I have the time), and I decided to use the .htaccess file to block people from hotlinking my images, as I'm really starting to go over bandwidth.
I've loaded it up to my albums folder, spoken with my server people, and they said the file is there, and I'm allowed to do it, and they have all the right type of servers, but it isn't working. Here's my code:
SetEnvIfNoCase Referer "^http://www.harrypotterspage.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://harrypotterspage.com/" locally_linked=1
SetEnvIf Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>
I hotlinked a photo on my myspace account, and it worked (while viewing with firefox - didn't try EI), so this is not working for some reason. am I missing something?
Honestly, I went 35G over bandwidth this month and would really not like it to happen again.
Also, another question...
Once I start this does it begin working on all currently hotlinked files? Or ones that people start trying to hotlink after I've placed it up?
Thanks for your help! :)
Post links so we have something to test. Also, make sure you clear your cache when testing.
Sorry, here's my gallery:
http://www.harrypotterspage.com/images/photogallery/index.php
How to I clear my cache with coppermine? I have an older version and don't see where I can that within the admin area, unless I do this somewhere else. Thanks!
sorry - dang - can't edit...
Did you mean my cache in Firefox? lol - okay - sorry I have a news posting system that has a clear cache feature for the program it self...
Hey,
Sorry for the triple post - can't figure out how to edit...
Anyhow, cleared my cache, but it still wasn't working. So, looked at it on IE, and it worked there.
So, ended up having to clear my cache like 3 times and restart FF 3 times, and it finally worked! Yes!
So, my other question is, will it now worked on all previously hotlinked photos? (please let it be so - y'all would save me major money - if so)
Thanks!
Yes.