still working on this. I tried this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(*.)?zice.ro(/)?.*$ [NC]
RewriteRule .*.(gif|jpe?g|png|bmp)$ [F,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
and this
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(.*)?zice.ro(/)?.*$ [NC]
RewriteRule .*.(gif|jpe?g|png|bmp)$ [F,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
but one site stealing my bandwidth is still displaying an image from my server... I emptied the cache too :-(
and this command:
tail -f /var/www/web5/log/web.log | grep exposed_audio.jpg
does not show any access to this particular image file!? Am I doing somethign wrong? maybe that guy cahes my image on his server, wouldn't be that bad....
but still wanna be sure which hotlinking .htaccess lines do prevent it usually.
###edit###
I am an idiot. I had edited the wrong .htaccess and was just wondering why another site was giving me an 500 serevr error :-)