blob: d986b4654f47949a25f592df4059ae9f4dbbf366 [file] [log] [blame]
# ENABLE INDEXING
Options +Indexes
# INDEX OPTIONS
IndexOptions +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* +IconsAreLinks +SuppressSize
# HIDE /theme DIRECTORY
IndexIgnore .htaccess /theme favicon.ico *.swp *.swo 404.html
ErrorDocument 404 /404.html
#
# GENERAL ICONS (BLANK, DIRECTORY, PARENT DIRECTORY)
#
#
# Replace {FOLDERNAME} with your directory URL eg:
# If your directory is http://mywebsite.com/share/
# you would change to:
#
# AddIcon /share/theme/icons/blank.png ^^BLANKICON^^
#
AddIcon /theme/icons/default.png ^^BLANKICON^^
AddIcon /theme/icons/folder.png ^^DIRECTORY^^
AddIcon /theme/icons/folder-home.png ..
#
# EXTENSION SPECIFIC ICONS
#
AddIcon /theme/icons/audio.png .aif .iff .m3u .m4a .mid .mp3 .mpa .ra
AddIcon /theme/icons/wav.png .wav .wma
AddIcon /theme/icons/c.png .c
AddIcon /theme/icons/css.png .css
AddIcon /theme/icons/word.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
AddIcon /theme/icons/svg.png .svg
AddIcon /theme/icons/illustrator.png .ai .eps
AddIcon /theme/icons/gif.png .gif
AddIcon /theme/icons/html.png .html .xhtml .shtml .htm .liquid .md .rb
AddIcon /theme/icons/ico.png .ico
AddIcon /theme/icons/java.png .jar
AddIcon /theme/icons/jpg.png .jpg .jpeg
AddIcon /theme/icons/js.png .js .json
AddIcon /theme/icons/torrent.png .pkg .dmg .rar
AddIcon /theme/icons/acrobat.png .pdf
AddIcon /theme/icons/php.png .php
AddIcon /theme/icons/png.png .png .tiff
AddIcon /theme/icons/photoshop.png .ps .psd
AddIcon /theme/icons/rss.png .rss
AddIcon /theme/icons/sql.png .sql
AddIcon /theme/icons/otf.png .otf
AddIcon /theme/icons/ttf.png .ttf .woff .eot
AddIcon /theme/icons/txt.png .txt
AddIcon /theme/icons/video.png .asf .asx .avi .flv .mov .mp4 .mpg .rm .srt .swf .vob .wmv
AddIcon /theme/icons/excel.png .xml .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv
AddIcon /theme/icons/zip.png .zip .bin
DefaultIcon /theme/icons/default.png
#
# THEME FILES
#
HeaderName /theme/header.html
ReadmeName /theme/footer.html
IndexStyleSheet "/theme/style.css"
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html