As the title says, how do you enable hotlink protection and redirect the requests to another image. I have it working with no problems on nginx, but OLS is another matter - and I need it as I've got some leeches steeling images (and bandwidth) from the site as they just use my images in their HTML code.
This is what I've tried:
but it hasn't worked.... needless to say, I've had to go back to nginx for now.
This is what I've tried:
Code:
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?twowheeldemon\.com/.*$ [NC]
RewriteRule .*\.(gif|jpe?g|png)$ https://twowheeldemon/images/hotlink-warning.jpg [R,NC,L]