.htaccess
Date: 04/24/06
(Apache) Keywords: no keywords
I was wondering if anyone would help me with a .htaccess file.
It is not working. I use godaddy as my host. I am trying to block hotlinking.
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.a-mommys-world.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://a-mommys-world.com.com.*$ [NC] RewriteRule .*.(gif|GIF|jpg|JPG|zip|tar)$ - [F] # No access to images RewriteRule \.(gif|jpg)$ http://www.a-mommys-world.com/nohotlink.jpe [R,L]
can anyone tell me what I am doing wrong?
Source: http://community.livejournal.com/apache/32025.html
|