computersoc
Beta member
- Messages
- 3
I have a website with an images directory. I don't want people to hotlink the images, so I have this:
Well random times, on my site, the images won't load. If I hit refresh, they load fine. Totally random. Works 99% of the time.
The .htaccess file is located in http://www.computersoc.com/images and the problem happens on http://www.computersoc.com
Any ideas? Thanks.
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?computersoc.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
Well random times, on my site, the images won't load. If I hit refresh, they load fine. Totally random. Works 99% of the time.
The .htaccess file is located in http://www.computersoc.com/images and the problem happens on http://www.computersoc.com
Any ideas? Thanks.