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