Directory listing / indexing / list of files

Discussion in 'Installation/Configuration' started by lucani, Jun 3, 2010.

  1. lucani

    lucani Member HowtoForge Supporter

    [Solved] Directory listing / indexing / list of files

    Hello!

    Is it possible to turn on showing list of files in specified directory?

    I created dir "public" via FTP and in
    I add:
    Code:
    <Directory /var/www/clients/client4/web5/web/public>
    Options Indexes MultiViews
    </Directory>  
    but it doesn't work. Could you help me?
     
    Last edited: Jun 3, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try also:

    <Directory /var/www/domain.com/web/public>
    Options +Indexes +MultiViews
    </Directory>

    or just add a .htaccess file in the folder /var/www/clients/client4/web5/web/public with the line:

    Options +Indexes +MultiViews
     
  3. lucani

    lucani Member HowtoForge Supporter

    Problem solved.

    I deleted empty file .htaccess in main path
    (
    Code:
    /var/www/domain.com/web/
    )
    and then .htaccess from subfolder "public"
    (
    Code:
    /var/www/domain.com/web/public
    )
    started working.
    (
    Code:
    Options +Indexes +MultiViews 
    )
     

Share This Page