Hi, newbie here!
Sorry, I'm sure this has come up many times before, but I've not been able to find an answer to my problems!
I've recently discovered htaccess and want to use it to stop bandwidth thieves.
My web host doesn't support mod rewrite, so I've being trying to use this code from snip:
SetEnvIfNoCase Referer "^http://www.your-domain-name-here.com/" locally_linked=1
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 "^http://your-domain-name-here.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
Order Allow,Deny Allow from env=locally_linked
with snip for your-domain-name-here.com
I've saved this code in a .htaccess file, uploaded it in ascii mode to a subfolder in my site directory.
It works, but too well. Everyone is denied permission to view the images, even when viewing them from my website.
Can anyone help me sort out this problem, so that I can view the images on my own pages, please?
link to my test page:
[edited by: DaveAtIFG at 12:45 pm (utc) on July 30, 2003]
[edit reason] No specifics please [/edit]