index/of for downloads

Discussion in 'Installation/Configuration' started by MikySal78, Jan 29, 2020.

  1. MikySal78

    MikySal78 Member

    My system is debian buster, ispconfig and apache2
    i have a site downloads.site.tld for public downloads
    I have enable user ssh chroot with jailkit
    From local machine compile firmware with jenkins, mount remote directory and i have create symbolic link from user to web
    I have error "ERROR 403 - Forbidden"
    how can i enable index/of

    or create a public_ftp ?

    i try with
    Code:
    <Directory /var/www/clients/client3/web18/web>
    Options +Indexes
    </Directory>
    but continue with error

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try:

    <Directory /var/www/yourdomain.tld/web>
    Options +Indexes
    </Directory>
     
  3. MikySal78

    MikySal78 Member

    no, error 403
     
  4. Th0m

    Th0m ISPConfig Developer ISPConfig Developer

    Did you enable autoindex?
    Code:
    sudo a2enmod autoindex
     
  5. MikySal78

    MikySal78 Member

    Module autoindex already enabled
     
  6. Th0m

    Th0m ISPConfig Developer ISPConfig Developer

    Who owns the /web directory?
     
  7. MikySal78

    MikySal78 Member

    [email protected]:~ # cd /var/www/downloads.nnxx.ninux.org/web
    [email protected]:web # ll
    totale 24K
    drwx--x--x 5 web18 client3 4,0K feb 8 17:08 .
    drwxr-xr-x 15 root root 4,0K gen 29 22:34 ..
    drwxr-xr-x 2 web18 client3 4,0K gen 29 22:32 error
    lrwxrwxrwx 1 web18 client3 31 gen 30 23:27 firmware -> ../home/miky_nnxx/nnxx-firmware
    lrwxrwxrwx 1 web18 client3 33 gen 29 22:41 openwisp-config -> ../home/miky_nnxx/openwisp_config
    drwxr-xr-x 3 web18 client3 4,0K feb 12 00:02 stats
     
  8. Th0m

    Th0m ISPConfig Developer ISPConfig Developer

    Are you linking to the root of web18 (real path /var/www/clients/client3/web18/home) or to /home?
     
  9. MikySal78

    MikySal78 Member

    no /home but ../home ..
    /var/www/downloads.nnxx.ninux.org/home/miky_nnxx/nnxx-firmware/ or /var/www/clients/client3/web18/home/miky_nnxx/nnxx-firmware
     
  10. Th0m

    Th0m ISPConfig Developer ISPConfig Developer

    Who owns that folder?
     
  11. Jesse Norell

    Jesse Norell ISPConfig Developer ISPConfig Developer

    You might try using bind mounts instead of symbolic links.
     

Share This Page