summaryrefslogtreecommitdiffstats
path: root/share/apache/mods/000-apache-icons.conf
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-06-04 15:18:07 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-06-04 15:18:07 +0000
commit388583f2e1eddca0fefc96944eb2a73ccb477602 (patch)
tree46017fccb075ea37004f05a0fca12a8a290026f6 /share/apache/mods/000-apache-icons.conf
parentInitial commit. (diff)
downloadopen-infrastructure-service-tools-388583f2e1eddca0fefc96944eb2a73ccb477602.tar.xz
open-infrastructure-service-tools-388583f2e1eddca0fefc96944eb2a73ccb477602.zip
Adding upstream version 20160601.upstream/20160601
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/apache/mods/000-apache-icons.conf')
-rw-r--r--share/apache/mods/000-apache-icons.conf43
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>