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