hy,
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.nl/.*$ [NC]
RewriteRule .*\.(jpg|gif|JPG|GIF)$
http://www.mydomain.nl/hotlink.gif [R,L]
This prevents hotlinking (at least, for most browsers). But it works half.
The rules prevents an image from being viewed when it's linked from a
website other than mydomain. but it does NOT show hotlink.gif to replace!
I searched many groups en websites but could not find any answer. My server
supports mod_rewrite (at least, PHPinfo says it is loaded).
Some advice??
wouter
ps. The image hotlink.gif DOES exists
