lighttpd + hotlink protection? How?
Hi!I´m using lighttpd, but when I use apache i did a protection for my images on cpanel like this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com.br/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.com.br$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com.br/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com.br$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain2.com.br/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain2.com.br$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain2.com.br/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain2.com.br$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
So, how can I put this to work on lighttpd?
Its very important... thanks any help!