Vestride/fancy-index/master/.htaccess
# ENABLE DIRECTORY VIEWS
Options +Indexes
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# STRONG HTACCESS PROTECTION
<Files ~ "^.*.([Hh][Tt][Aa])">
order allow,deny
deny from all
</Files>
# DIRECTORY CUSTOMIZATION
<IfModule mod_autoindex.c>
# SET INDEX OPTIONS
IndexOptions IgnoreCase FancyIndexing HTMLTable SuppressHTMLPreamble FoldersFirst VersionSort NameWidth=* DescriptionWidth=* XHTML IconHeight=16 IconWidth=16
# Other options.
# IconsAreLinks SuppressColumnSorting
# SET DISPLAY ORDER
IndexOrderDefault Ascending Name
IndexStyleSheet /fancy-index/style.css
# SPECIFY HEADER FILE
HeaderName /fancy-index/header.html
# SPECIFY FOOTER FILE
ReadmeName /fancy-index/footer.html
# IGNORE THESE FILES
IndexIgnore .htaccess .ftpquota .DS_Store *,v *,t .??* *~ *#
# DEFAULT ICON
DefaultIcon /fancy-index/icons/file-text.svg
AddIcon /fancy-index/icons/back.svg ..
AddIcon /fancy-index/icons/file-directory.svg ^^DIRECTORY^^
# SPECIFIC FILE ICONS
AddIcon /fancy-index/icons/file-code.svg .c .h .mustache .rust .source .apache .styl .jade
AddIcon /fancy-index/icons/file-media.svg .png .jpg .jpeg .webp .gif .bmp .psd .mp4 .webm .ogv .mov
AddIcon /fancy-index/icons/file-pdf.svg .pdf
AddIcon /fancy-index/icons/file-text.svg .txt README readme Procfile
AddIcon /fancy-index/icons/file-zip.svg .zip .z .gz .Z .tgz .tar.gz .tar .rar
AddIcon /fancy-index/icons/less.png .less
AddIcon /fancy-index/icons/css.svg .css
AddIcon /fancy-index/icons/html.svg .html .htm
AddIcon /fancy-index/icons/coffee.svg .coffee
AddIcon /fancy-index/icons/java.svg .java
AddIcon /fancy-index/icons/markdown.svg .markdown .md
AddIcon /fancy-index/icons/js.svg .js
AddIcon /fancy-index/icons/settings.svg .json
AddIcon /fancy-index/icons/mustache.svg .mustache
AddIcon /fancy-index/icons/php.svg .php
AddIcon /fancy-index/icons/python.svg .py
AddIcon /fancy-index/icons/ruby.svg .rb
AddIcon /fancy-index/icons/rust.svg .rust
AddIcon /fancy-index/icons/sass.svg .sass
AddIcon /fancy-index/icons/scss.svg .scss
AddIcon /fancy-index/icons/svg.svg .svg .svgx .eps .ai
AddIcon /fancy-index/icons/xml.svg .xml
# FILE DESCRIPTIONS
AddDescription "MPEG Layer 3 Format" .mp3
AddDescription "GZIP compressed TAR archive" .tgz .tar.gz
AddDescription "GZIP compressed archive" .Z .z .gz .zip
AddDescription "RAR compressed archive" .rar
AddDescription "TAR compressed archive" .tar
AddDescription "ZIP compressed archive" .zip
AddDescription "Windows executable file" .exe
AddDescription "Common Gateway Interface" .cgi
AddDescription "Joint Photographics Experts Group" .jpg .jpeg .jpe
AddDescription "Graphic Interchange Format" .gif
AddDescription "Portable Network Graphic" .png
AddDescription "Vector graphic" .ps .ai .eps
AddDescription "Hypertext Markup Language" .html .shtml .htm
AddDescription "Cascading Style Sheet" .css
AddDescription "DocType Definition" .dtd
AddDescription "Extensible Markup Language" .xml
AddDescription "Win32 compressed HTML help" .chm
AddDescription "Adobe Portable Document Format" .pdf
AddDescription "Plain text file" .txt .nfo .faq .readme
AddDescription "Unix man page" .man
AddDescription "Email data" .eml .mbox
AddDescription "Microsoft Word document" .doc
AddDescription "PHP: Hypertext Preprocessor script" .php .php3 .php4
AddDescription "PHP: Hypertext Preprocessor source code" .phps
AddDescription "JavaScript Object Notation" .json
AddDescription "JavaScript" .js
AddDescription "Java code" .java
AddDescription "Unix shell script" .sh .shar .csh .ksh .command
AddDescription "Mac OS X shell script" .command
AddDescription "Configuration file" .conf
AddDescription "Mac OS X terminal" .term
AddDescription "BitTorrent file" .torrent
AddDescription "Windows link" .lnk .url
AddDescription "Scalable Vector Graphic" .svg
# DEFAULT DESCRIPTION
# AddDescription "[<span class='description'>Unknown item</span>]" *
</IfModule>
On Github License
Files