summaryrefslogtreecommitdiffstats
path: root/share/apache/mods/000-apache-icons.conf
blob: d14b1bf00e3bec7171e9d2f12f236cf328c92bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 .gpg .sign .changes .dsc MD5SUMS SHA1SUMS SHA224SUMS
	AddIconByType (TXT,/icons/text.${FORMAT}) text/*

	AddIcon (VID,/icons/video.${FORMAT}) .mkv .mp4 .ogm
	AddIconByType (VID,/icons/video.${FORMAT}) video/*
</IfModule>