blob: c916b8483a2029122a1159332d18dba9ee055d1e [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 /theme/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 /.icons/default.png ^^BLANKICON^^
AddIcon /.icons/folder.png ^^DIRECTORY^^
AddIcon /.icons/folder-home.png ..
#
# EXTENSION SPECIFIC ICONS
#
AddIcon /.icons/audio-x-mpeg.png .aif .iff .m3u .m4a .mid .mp3 .mpa .ra
AddIcon /.icons/audio-x-wav.png .wav .wma
AddIcon /.icons/text-x-c.png .c
AddIcon /.icons/text-css.png .css
AddIcon /.icons/application-msword.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
AddIcon /.icons/image-svg.png .svg
AddIcon /.icons/illustrator.png .ai .eps
AddIcon /.icons/image-gif.png .gif
AddIcon /.icons/text-html.png .html .xhtml .shtml .htm .liquid .md .rb
AddIcon /.icons/image-x-ico.png .ico
AddIcon /.icons/application-x-jar.png .jar
AddIcon /.icons/image-jpg.png .jpg .jpeg
AddIcon /.icons/text-x-javascript.png .js .json
AddIcon /.icons/application-x-bittorrent.png .pkg .dmg .rar
AddIcon /.icons/application-pdf.png .pdf
AddIcon /.icons/application-x-php.png .php
AddIcon /.icons/image-png.png .png .tiff
AddIcon /.icons/image-x-psd.png .ps .psd
AddIcon /.icons/application-rss+xml.png .rss
AddIcon /.icons/text-x-sql.png .sql
AddIcon /.icons/otf.png .otf
AddIcon /.icons/ttf.png .ttf .woff .eot
AddIcon /.icons/text-plain.png .txt
AddIcon /.icons/video-x-generic.png .asf .asx .avi .flv .mov .mp4 .mpg .rm .srt .swf .vob .wmv
AddIcon /.icons/application-vnd.ms-excel.png .xml .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv
AddIcon /.icons/application-x-zip.png .zip .bin
DefaultIcon /.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