Hello everyone,
I don't want people to download any file (except html documents) from my server following links on pages hosted elsewhere.
<Directory /xyz/ccc>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.my_site.org/.*$ [NC]
RewriteRule .*.gif$ - [L]
</Directory>
I found this code... working only with gif files, is there any way to block unauthorized access to every file type in this directory except html/htm ?
Thanks in advance
<font size=-1>[ This Message was edited by: joe on 2002-05-13 19:27 ]</font>