Mereged updates from DokuWiki 38
[sudaraka-org:dokuwiki-mods.git] / conf / mime.conf
1 # Allowed uploadable file extensions and mimetypes are defined here.
2 # To extend this file it is recommended to create a mime.local.conf
3 # file. Mimetypes that should be downloadable and not be opened in the
4 # should be prefixed with a !
5
6 jpg     image/jpeg
7 jpeg    image/jpeg
8 gif     image/gif
9 png     image/png
10 ico     image/vnd.microsoft.icon
11
12 swf     application/x-shockwave-flash
13 mp3     audio/mpeg
14 ogg     audio/ogg
15 wav     audio/wav
16
17 tgz     !application/octet-stream
18 tar     !application/x-gtar
19 gz      !application/octet-stream
20 bz2     !application/octet-stream
21 zip     !application/zip
22 rar     !application/rar
23 7z      !application/x-7z-compressed
24
25 pdf     application/pdf
26 ps      !application/postscript
27
28 rpm     !application/octet-stream
29 deb     !application/octet-stream
30
31 doc     !application/msword
32 xls     !application/msexcel
33 ppt     !application/mspowerpoint
34 rtf     !application/msword
35
36 docx    !application/vnd.openxmlformats-officedocument.wordprocessingml.document
37 xlsx    !application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
38 pptx    !application/vnd.openxmlformats-officedocument.presentationml.presentation
39
40 sxw     !application/soffice
41 sxc     !application/soffice
42 sxi     !application/soffice
43 sxd     !application/soffice
44
45 odc     !application/vnd.oasis.opendocument.chart
46 odf     !application/vnd.oasis.opendocument.formula
47 odg     !application/vnd.oasis.opendocument.graphics
48 odi     !application/vnd.oasis.opendocument.image
49 odp     !application/vnd.oasis.opendocument.presentation
50 ods     !application/vnd.oasis.opendocument.spreadsheet
51 odt     !application/vnd.oasis.opendocument.text
52
53 # You should enable HTML and Text uploads only for restricted Wikis.
54 # Spammers are known to upload spam pages through unprotected Wikis.
55 # Note: Enabling HTML opens Cross Site Scripting vulnerabilities
56 #       through JavaScript. Only enable this with trusted users. You
57 #       need to disable the iexssprotect option additionally to
58 #       adding the mime type here
59 html    text/html
60 #htm     text/html
61 #txt     text/plain
62 #conf    text/plain
63 #xml     text/xml
64 #csv     text/csv
65