Fancy Indexing

Adds fixed width fonts, file size and date, sort capability. Propagates to higher level directories. See example.

IndexOptions FancyIndexing
IndexOptions FoldersFirst
IndexOptions NameWidth=*

Comments

  1. User Avatar
    Billy

    Awesome!!!

  2. User Avatar
    Bob Jonson
    Permalink to comment#

    I want to have this be true for the root web directory, but not one of the sub directories. Is there any way I could do this?

    • User Avatar
      Blake
      Permalink to comment#

      @Billy

      You could put this htaccess file in the root and then in the subdir’s you would put a htaccess with the below contents

      Options -Index

  3. User Avatar
    Ratman
    Permalink to comment#

    This works great to add header and footer to indexing, But how do you Include all sub directorys??

    Options +Indexes
    IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=40% DescriptionWidth=* SuppressHTMLPreamble IconHeight=30 IconWidth=30 SuppressLastModified
    IndexIgnore ..
    IndexOrderDefault Descending Name

    HeaderName inc/header.shtml
    ReadmeName inc/footer.shtml
    IndexIgnore header.shtml footer.shtml .htaccess inc

Submit a Comment

Posting Code

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag