
October 30th, 2001, 10:36 AM
|
 |
Oheim
|
|
Join Date: Jun 2001
Location: Austria
Posts: 69
Time spent in forums: < 1 sec
Reputation Power: 8
|
|
|
.htaccess - deny borrowing of images with exeption
Hy!
I was wondering...
I would like to use following code in my .htaccess to deny image theft. So far so good. But...
...can you allow certain images to be called by another server?
I have like a couple banners which get used by linklists, and of course I want those to be available, but I don't want anybody to be able to borrow other images than this one or two.
Code:
SetEnvIfNoCase Referer "^http://www.wcc.at/" local_ref=1
<FilesMatch ".(gif|jpg)">
Order Allow,Deny
Allow from env=local_ref
</FilesMatch>
Best regards
Sheriff
__________________
There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.
God is just hacker who rooted the world!
|