summaryrefslogtreecommitdiffstats
path: root/apache/share/apache
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-28 05:48:31 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-28 07:46:14 +0000
commitb6fa179e401720efb05ad28f91e910acf8211078 (patch)
tree7ee8022264ec9e03705aea854bc699d61e963e9f /apache/share/apache
parentReleasing version 20190301. (diff)
downloadservice-tools-b6fa179e401720efb05ad28f91e910acf8211078.tar.xz
service-tools-b6fa179e401720efb05ad28f91e910acf8211078.zip
Moving apache files to subdirectory.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'apache/share/apache')
-rw-r--r--apache/share/apache/conf/000-apache-icons.conf5
-rw-r--r--apache/share/apache/icon.conf.in1
-rw-r--r--apache/share/apache/mods/000-apache-icons.conf49
-rw-r--r--apache/share/apache/mods/000-apache-icons.load1
4 files changed, 56 insertions, 0 deletions
diff --git a/apache/share/apache/conf/000-apache-icons.conf b/apache/share/apache/conf/000-apache-icons.conf
new file mode 100644
index 0000000..7cce24b
--- /dev/null
+++ b/apache/share/apache/conf/000-apache-icons.conf
@@ -0,0 +1,5 @@
+<IfModule mod_autoindex.c>
+ Include /usr/share/open-infrastructure/apache-icons/default.conf
+
+ DefaultIcon /icons/default.${FORMAT}
+</IfModule>
diff --git a/apache/share/apache/icon.conf.in b/apache/share/apache/icon.conf.in
new file mode 100644
index 0000000..c5b2e3e
--- /dev/null
+++ b/apache/share/apache/icon.conf.in
@@ -0,0 +1 @@
+Define FORMAT @FORMAT@
diff --git a/apache/share/apache/mods/000-apache-icons.conf b/apache/share/apache/mods/000-apache-icons.conf
new file mode 100644
index 0000000..c78afba
--- /dev/null
+++ b/apache/share/apache/mods/000-apache-icons.conf
@@ -0,0 +1,49 @@
+<IfModule alias_module>
+ Alias /icons/ "/usr/share/open-infrastructure/apache-icons/default/"
+
+ <Directory "/usr/share/open-infrastructure/apache-icons/default">
+ Options FollowSymlinks
+ AllowOverride None
+ Require all granted
+ </Directory>
+</IfModule>
+
+<IfModule mod_autoindex.c>
+ Include /usr/share/open-infrastructure/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/optical.${FORMAT} .iso
+
+ AddIcon /icons/harddisk.${FORMAT} .img
+
+ AddIcon /icons/checksum.${FORMAT} .asc .gpg .sign .changes .dsc .md5 MD5SUMS .sha1 SHA1SUMS .sha224 SHA224SUMS .sha256 SHA256SUMS .sha384 SHA384SUMS .sha512 SHA512SUMS
+
+ 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
+ AddIconByType (TXT,/icons/text.${FORMAT}) text/*
+
+ AddIcon (VID,/icons/video.${FORMAT}) .mkv .mp4 .ogm
+ AddIconByType (VID,/icons/video.${FORMAT}) video/*
+</IfModule>
diff --git a/apache/share/apache/mods/000-apache-icons.load b/apache/share/apache/mods/000-apache-icons.load
new file mode 100644
index 0000000..13c35b7
--- /dev/null
+++ b/apache/share/apache/mods/000-apache-icons.load
@@ -0,0 +1 @@
+# Depends: alias autoindex