Page 1 of 1

Hotlinking prevention

PostPosted: Fri Mar 16, 2012 12:11 pm
by dwaas

Could someone provide me with the answer to the following question:

How do I prevent hotlinking from my site?

I tried by putting this in my htacces:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?vecordis\.nl/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ [L]

but is does not seem to work...

Any ideas?