Hiya, I need help with a .htaccess file to prevent hotlinking from other websites except for linking from my own website (NarutoMonkey.net).
The problem is that I have uploaded "working" code except that its not working, and I cant figure out if the server is not running the file (most likely) or if there is something wrong with the code. The file contains the following
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www\.narutomonkey.net(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|mp3|zip|rar|avi|mkv|rmvb)$ - [F,NC]
Does this code work? Do you see anything wrong with it for it not to be working at all. Also, one thing I think is wrong with it is that it doesn't block people who have no referrers at all. Correct? What would I need to add to get it to block people with no referrers as well.
Also, finally, what language are .htaccess files written in? And could you possible link me to a tutorial or something.
Hope you guys can help me _