FIXED: Handling redirections for google cached pages of old site
[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
11 swf     application/x-shockwave-flash
12 mp3     audio/mpeg
13 ogg     audio/ogg
14 wav     audio/wav
15
16 tgz     !application/octet-stream
17 tar     !application/x-gtar
18 gz      !application/octet-stream
19 bz2     !application/octet-stream
20 zip     !application/zip
21 rar     !application/rar
22 7z      !application/x-7z-compressed
23
24 pdf     application/pdf
25 ps      !application/postscript
26
27 rpm     !application/octet-stream
28 deb     !application/octet-stream
29
30 doc     !application/msword
31 xls     !application/msexcel
32 ppt     !application/mspowerpoint
33 rtf     !application/msword
34
35 docx    !application/vnd.openxmlformats-officedocument.wordprocessingml.document
36 xlsx    !application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
37 pptx    !application/vnd.openxmlformats-officedocument.presentationml.presentation
38
39 sxw     !application/soffice
40 sxc     !application/soffice
41 sxi     !application/soffice
42 sxd     !application/soffice
43
44 odc     !application/vnd.oasis.opendocument.chart
45 odf     !application/vnd.oasis.opendocument.formula
46 odg     !application/vnd.oasis.opendocument.graphics
47 odi     !application/vnd.oasis.opendocument.image
48 odp     !application/vnd.oasis.opendocument.presentation
49 ods     !application/vnd.oasis.opendocument.spreadsheet
50 odt     !application/vnd.oasis.opendocument.text
51
52 # You should enable HTML and Text uploads only for restricted Wikis.
53 # Spammers are known to upload spam pages through unprotected Wikis.
54 # Note: Enabling HTML opens Cross Site Scripting vulnerabilities
55 #       through JavaScript. Only enable this with trusted users. You
56 #       need to disable the iexssprotect option additionally to
57 #       adding the mime type here
58 html    text/html
59 #htm     text/html
60 #txt     text/plain
61 #conf    text/plain
62 #xml     text/xml
63 #csv     text/csv
64