From a76b088c1aff4180e095c42eedb2b610d4631d24 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 Jun 2016 11:44:03 +0200 Subject: Adding apache mods files. Signed-off-by: Daniel Baumann --- share/apache/mods/000-apache-icons.conf | 43 +++++++++++++++++++++++++++++++++ share/apache/mods/000-apache-icons.load | 1 + 2 files changed, 44 insertions(+) create mode 100644 share/apache/mods/000-apache-icons.conf create mode 100644 share/apache/mods/000-apache-icons.load (limited to 'share') 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 @@ + + Alias /icons/ "/usr/share/apache-icons/default/" + + + Options FollowSymlinks + AllowOverride None + Require all granted + + + + + 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/* + diff --git a/share/apache/mods/000-apache-icons.load b/share/apache/mods/000-apache-icons.load new file mode 100644 index 0000000..13c35b7 --- /dev/null +++ b/share/apache/mods/000-apache-icons.load @@ -0,0 +1 @@ +# Depends: alias autoindex -- cgit v1.2.3