用户工具

站点工具


dokuwiki:upload-denied

Dokuwiki Upload Denied 解决方法

问题描述

当我们通过Dokuwiki的Media Manager来上传文件时,对html,txt等文件会遇到如下的出错提示:

Upload denied. This file extension is forbidden!

Dokuwiki Upload Denied

Upload Denied 解决方法

其实你只要更新你的配置文件 conf/mime.conf,将你需要的文件后缀加到允许列表里就可以了。

#Add extensions and mimetypes of files you want to allow to upload here

jpg     image/jpeg
jpeg    image/jpeg
gif     image/gif
png     image/png
tgz     application/octet-stream
tar     application/x-gtar
gz      application/octet-stream
zip     application/zip
rar     application/rar
pdf     application/pdf
ps      application/postscript
doc     application/msword
docx    application/msword
xls     application/msexcel
ppt     application/mspowerpoint
rtf     application/msword
swf     application/x-shockwave-flash
dokuwiki/upload-denied.txt · 最后更改: 2010/06/02 01:18 (外部编辑)