RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?gamer.xz.lt/.*$ [NC] RewriteRule \.(gif|jpg|png|GIF|JPG|PNG)$ - [F]