unsure about .htaccess code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jordguitar
    New Member
    • Sep 2007
    • 5

    unsure about .htaccess code

    First time using it and got all of that put together via a guide and from my host but I need to know if it works or not. Host dosent give support with help with .htaccess files but the servers support it. Also taking out the IP Address for security reasons even though that person did destroy my site

    [PHP]order allow,deny
    allow from all
    deny from **.**.***.***
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?neo-excitement.com/.*$ [NC]
    RewriteRule \.(gif|jpg)$ http://www.neo-excitement.com/donthotlink.jpg [R,L][/PHP]

    Also sorry if I posted this in the wrong section but the guide said it is apache code O.o
Working...