Apache Directives: file download problem

Discussion in 'Installation/Configuration' started by maestro, Mar 16, 2009.

  1. maestro

    maestro New Member

    Hi All!

    I have problem with downloading specific file from web page.
    How is configured :

    1. Files are actualy reside on Windows XP and are shared (everyone can read)
    2. On ISPConfig server this share is mounted with this string in fstab:
    "// /mnt/application cifs user=username,password=password,uid=48,gid=48,file_mode=0444 0 0"
    3. In ISPManager for web page under Apache Directives I put this:
    "Alias /application/ "/mnt/application/"
    AddType application/octet-stream .nfg
    <Directory "/mnt/application/">
    Options -Indexes
    AllowOverride Limit AuthConfig
    Order deny,allow

    .htaccess and .htpasswd files are in that directory
    When I try to download specific file "application.nfg" from that directory I get file but with 0 byte in size.
    I have the same configuration on second linux server without ISPConfig installed and it works OK.
    I also try to change uid and gid but with no luck.

    Is there something that I missed, please help.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look at the error log of the site and the syslog of your server. I dont think that it has to do with ISPConfig as ISPConfig just writes a standard vhost entry and does not interact with the file download, mounting of drives etc.

Share This Page