1#Add extensions and mimetypes of files you want to allow to upload here 2 3jpg image/jpeg 4jpeg image/jpeg 5gif image/gif 6png image/png 7tgz application/octet-stream 8tar application/x-gtar 9gz application/octet-stream 10bz2 application/octet-stream 11zip application/zip 12rar application/rar 13pdf application/pdf 14ps application/postscript 15doc application/msword 16xls application/msexcel 17ppt application/mspowerpoint 18rtf application/msword 19swf application/x-shockwave-flash 20 21rpm application/octet-stream 22deb application/octet-stream 23 24sxw application/soffice 25sxc application/soffice 26sxi application/soffice 27sxd application/soffice 28 29odc application/vnd.oasis.opendocument.chart 30odf application/vnd.oasis.opendocument.formula 31odg application/vnd.oasis.opendocument.graphics 32odi application/vnd.oasis.opendocument.image 33odp application/vnd.oasis.opendocument.presentation 34ods application/vnd.oasis.opendocument.spreadsheet 35odt application/vnd.oasis.opendocument.text 36 37# You should enable HTML and Text uploads only for restricted Wikis. 38# Spammers are known to upload spam pages through unprotected Wikis. 39# Note: Enabling HTML opens Cross Site Scripting vulnerabilities 40# through JavaScript. Only enable this with trusted users. You 41# need to disable the iexssprotect option additionally to 42# adding the mime type here 43#html text/html 44#htm text/html 45#txt text/plain 46#conf text/plain 47#xml text/xml 48 49 50