Directory Listing for certain directories

Discussion in 'General' started by Martin1982, Apr 4, 2006.

  1. Martin1982

    Martin1982 New Member

    Is it possible to set the directory listing to "on" for certain websites on self-specified folders? And if yes, how?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You can put something like this into the "Apache Directives" field of the respective web site in ISPConfig:

    Code:
    <Directory "/path/to/directory">
    Options +Indexes
    IndexOptions FancyIndexing IconsAreLinks
    </Directory>
    Also have a look here: http://www.apachefreaks.com/tutorials/24/1.php
     
  3. Martin1982

    Martin1982 New Member

    I filled the following out as Apache Directives within the site on ISPConfig, although it doesn't seem to have any impact at all.

    Code:
    <Directory '/home/www/www.dataresort.estebanmedia.selfip.biz/web/user_uploads'>
    Options +Indexes
    IndexOptions FancyIndexing IconsAreLinks
    </Directory>
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Do you find the same directive in your Vhosts_ispconfig.conf?
    Anything in the Apache error log?
     
  5. Martin1982

    Martin1982 New Member

    Yes, I found the directive in the Vhosts_ispconfig.conf
    No, no strange Apache error logs

    I don't really understand where it's going wrong at this moment
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Do you have an .htaccess file in /home/www/www.dataresort.estebanmedia.selfip.biz/web/user_uploads?


    What happens if you use only

    Code:
    <Directory '/home/www/www.dataresort.estebanmedia.selfip.biz/web/user_uploads'>
    Options +Indexes
    </Directory>
     

Share This Page