So I figured it out, with some help in dk.edb.internet.software.apache,
see 4f9f9934$0$35275$c3e8da3$
b372...@news.astraweb.com if you happen to
speak danish.
My httpd.conf was botched. Of course I can't let this stand alone
RewriteEngine On
RewriteLog "/var/www/log/rewrite.log"
RewriteLogLevel 9
RewriteCond %{HTTP_REFERER} !(192\.168\.150\.130)
RewriteRule .*png$ - [F]
I had to give apache a little more info:
RewriteLog "/var/www/log/rewrite.log"
RewriteLogLevel 9
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
RewriteEngine On
RewriteCond %{HTTP_REFERER} !(192\.168\.150\.130)
RewriteRule .*png$ - [F]
</Directory>
This is the httpd.conf that does what I was trying to do in the first
place: Block requests for png files without the correct referer.
--
mvh | regards
Troels