.htaccess

    Date: 04/24/06 (Web Development)    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/webdev/315564.html

« icons || Seems like a stupid... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home