diff options
Diffstat (limited to '')
-rw-r--r-- | share/apache/mods/000-apache-icons.conf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/share/apache/mods/000-apache-icons.conf b/share/apache/mods/000-apache-icons.conf new file mode 100644 index 0000000..d5932c5 --- /dev/null +++ b/share/apache/mods/000-apache-icons.conf @@ -0,0 +1,43 @@ +<IfModule alias_module> + Alias /icons/ "/usr/share/apache-icons/default/" + + <Directory "/usr/share/apache-icons/default"> + Options FollowSymlinks + AllowOverride None + Require all granted + </Directory> +</IfModule> + +<IfModule mod_autoindex.c> + Include /usr/share/apache-icons/default.conf + + IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* DescriptionWidth=* Charset=UTF-8 + + AddIcon /icons/blank.${FORMAT} ^^BLANKICON^^ + + AddIcon /icons/archive.${FORMAT} .gz .bz2 .lzma .xz .lz .tar .tar.gz .tar.bz2 .tar.lzma .tar.xz .tar.lz .zip .deb .udeb + AddIconByEncoding (CMP,/icons/archive.${FORMAT}) x-compress x-gzip x-bzip2 + + AddIcon (SND,/icons/audio.${FORMAT}) .flac .mp3 .ogg + AddIconByType (SND,/icons/audio.${FORMAT}) audio/* + + AddIcon /icons/back.${FORMAT} .. + + AddIcon /icons/code.${FORMAT} .cfg .conf .c .cpp .js .php .pl .py .pyc .rb .sh + + AddIcon /icons/directory.${FORMAT} ^^DIRECTORY^^ + + AddIcon /icons/document.${FORMAT} .odt .ott .doc .docx .dot .dotx + + AddIconByType (IMG,/icons/image.${FORMAT}) image/* + + AddIcon /icons/presentation.${FORMAT} .odp .otp .ppt .pot .pptx .potx .pps .ppsx + + AddIcon /icons/spreadsheet.${FORMAT} .ods .ots .xls .xlt .xlsx .xltx + + AddIcon /icons/text.${FORMAT} .txt .htm .html .shtml .xhtml .asc .changes .dsc + AddIconByType (TXT,/icons/text.${FORMAT}) text/* + + AddIcon (VID,/icons/video.${FORMAT}) .mkv .mp4 .ogm + AddIconByType (VID,/icons/video.${FORMAT}) video/* +</IfModule> |