RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://meine.domäne.de/.*$ [NC] RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|png)$ RewriteRule ^.*$ - [F]