htaccess commands

Sorry if this is in the wrong forum, I'm not exactly sure where I should post this.

I'm trying to put in some anti-leech commands in my .htaccess file to prevent people from hot linking my images outside my domain.

I have the following commands in my .htaccess file.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://daydreamgraphics.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.daydreamgraphics.com/.*$ [NC]
RewriteRule .*\.gif$ - [L]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://daydreamgraphics.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.daydreamgraphics.com/.*$ [NC]
RewriteRule .*\.png$ - [L]


When I upload this file in text mode to my account, it disabled the images from loading from my own domain.

I checked with my host a couple of times and he said mod-rewrite is supported on the apache server but he has no idea what this isn't working.

Does anyone knows?

I run a graphics site and bandwidth theft from hot linking images can be a real problem.

Thanks very much.

 

 

 

 

Top