Hey there, well i have a folder where i am keeping banners, for others to link at. I Would like to disa allow them linking to them directly, and like them to place the banner on their site, so i wont have to contact each of them, after i decide to switch the paths.
This is the path of my banners:
http://www.example.com/Files/SitePictures/BannerV1/
I Would like to Disallow Hot linking from the BannerV1 Folder.
I have tried this, but it seems to work only if i put it into the Root folder.
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?example\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://img148.imageshack.us/img148/237/hotlinkp.gif [L]