Loading ...
Sorry, an error occurred while loading the content.
 

htaccess

Expand Messages
  • Zakir Hossain
    I want to protect asx file from stealing. I used htaccess. but it protects only images though i mentioned asx file. here is the code RewriteEngine on
    Message 1 of 4 , Feb 3, 2007
      I want to protect asx file from stealing. I used htaccess. but it protects only images though i mentioned asx file. here is the code
      RewriteEngine on
      RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$     [NC]
      RewriteRule .*\.(gif|jpg|jpeg|bmp|asx)$ http://www.mydomain.com [R,NC]
       
       I replaced yourdomain.com with my domain name. it works well for images but not for asx file.
       
      can anyone help me with this or any other method of protecting asx files from being stealing?
       
      thanks in advance.

      --
      Best Regard,
      Raju
      http://www.rajuru.xenexbd.com
      ----------------------------
    Your message has been successfully submitted and would be delivered to recipients shortly.