Results 1 to 3 of 3

Thread: Apache2 Directory Listings

  1. #1
    Join Date
    Mar 2008
    Beans
    33

    Apache2 Directory Listings

    I'm trying to change my listings from the default which is sorted by name to where it will list folders first and then files by name after. I believe I have found that I need to add this somewhere but dont know where that is. Possibly /etc/apache2/mods-available/autoindex.conf ?

    C=S sorts the directory by size, then file name.

    I found out a page that shows where i can make a header.html file that lets me select my options and then it will sort it correctly but I want this to be the default setting.

    Thanks,
    Jeff C.

  2. #2
    Join Date
    Mar 2008
    Beans
    33

    Re: Apache2 Directory Listings

    No ideas??

  3. #3
    Join Date
    Mar 2008
    Beans
    33

    Re: Apache2 Directory Listings

    Figured it out myself. Simply add "FoldersFirst" to the index options of autoindex.conf

Bookmarks

Posting Permissions

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