.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

« MySQL/Perl/Tomcat || .htaccess question »


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