View Single Post
Old 05-18-2005, 11:54 AM   #3 (permalink)
elspeth
Registered User
 
Join Date: May 2005
Posts: 4
elspeth is on a distinguished road
Okay the problem is my hotlinked images are still showing instead of a little red cross.

This is what I've written in my htaccess file:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]

ErrorDocument 404 http://www.mysite.com/404.html

Like I said previously the 404 page loads just fine, but any hotlinked images from my site on a forum are still visible instead of a little red x. Is the code wrong? I've emptied my internet cache and still no luck. So what could be wrong?
And yes I have had a look at the page you mentioned, but it doesn't give me any information that helps.
elspeth is offline   Reply With Quote