Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    United States / West Coast

    FTP Shared Folder Executeing files?

    Ok so I have a rather odd issue. I am running Proftpd 1.3 and in my shared dir that I have aliased in my httpd.conf.(So to be clear I have an FTP account that the folder is a shared downlaod folder so a clan can use it. So they don't need to log into the ftp to download shared files just goto a web link.) Now if the file is a .rar file the server will try to execute it and not download it but a zip file will download just fine. Now since 89% of the files are .rar I would much rather figure out why it's doign this then re compress all the files as .zip. Any ideas?

  2. #2
    Put this in your httd.conf:
     AddType application/x-rar .rar
    You can test this in an .htacces file but it really should go in your httpd.conf.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts