Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
soft:dokuwiki_memo [2020/07/25 08:21] Ce Zhangsoft:dokuwiki_memo [2021/07/29 05:07] (current) Ce Zhang
Line 1: Line 1:
-  * add the upload file type: conf/mime.conf+  * add the upload file type: /home/html/dokuwiki/conf/mime.conf
     * https://www.dokuwiki.org/mime     * https://www.dokuwiki.org/mime
  
Line 14: Line 14:
 </code> </code>
  
 +
 +log 210604: uncomment several types;
 +
 +vi /home/html/dokuwiki/conf/mime.conf
 +<code>
 +# You should enable HTML and Text uploads only for restricted Wikis.
 +# Spammers are known to upload spam pages through unprotected Wikis.
 +# Note: Enabling HTML opens Cross Site Scripting vulnerabilities
 +#       through JavaScript. Only enable this with trusted users. You
 +#       need to disable the iexssprotect option additionally to
 +#       adding the mime type here
 +html    text/html
 +htm     text/html
 +txt     text/plain
 +conf    text/plain
 +xml     text/xml
 +csv     text/csv
 +
 +</code>