FancyDir
FancyDir styles Apache’s default (and rather ugly) directory listing, turning it into something considerably easier on the eyes. Because it uses Apache’s mod_autoindex FancyDir does not rely on any additional scripting engine such as PHP.
Features
- Requires Apache 2.x with the mod_autoindex module.
- Inline search — dynamically filter your files.
- Breadcrumb navigation — quickly navigate to a parent folder.
- Tested in major browsers (Internet Explorer 7–9, Firefox, Opera and Chrome).
- Degrades gracefully — While some features require JavaScript, if it is disabled users are still presented with a clear layout.
Demo
A demonstration page showing FancyDir’s output can be found at http://bpscott.github.com/FancyDir/.
Updates
- v2.0 — 2011/04/17 — Search is now much faster, removed lightbox effects (they’re so 2008), removed all dependencies on jQuery and dropped support for IE6.
- v1.0.1 — 2008/08/05 — Optimised the search slightly and added more content types to display within the iframe.
- v1.0 — 2008/07/20 — FancyDir’s first release.
Download & Installation
- Download FancyDir-v2.0.zip
- Upload the fancydir directory to the root of your domain (so it would be accessible at yourdomain.com/fancydir/)
- Upload the .htaccess file to the root of your domain, if a .htaccess file already exists then append the contents of the fancydir .htaccess file to your own.
- Enjoy your fancy directory listings.
Notes
- Sometimes you don’t want list the contents of a directory, in this case create a .htaccess file containing the line Options -Indexes and place it in the directory you don’t want listed.
- FancyDir uses the Silk iconset from famfamfam
License
FancyDir is licensed under the Creative Commons Attribution 3.0 License. Use and modify FancyDir as you see fit but please include a comment marking this as the original source.