User Tools

Site Tools


web_app:dokuwiki

Dokuwiki Modification History

Install encrypted password plugin

Agar bisa menyimpan password di page. Untuk menyimpan password pada page dengan enkripsi dan notifikasi user utk decrypt saat klik, gunakan Encrypted Passwords Plugin https://www.dokuwiki.org/plugin:encryptedpasswords

Activate Sneaky Index

Hide pagespaces with no permission to read from Sitemap. By default, DokuWiki will show all namespaces in the sitemap. Enabling this option will hide those where the user doesn't have read permissions. This might result in hiding of accessable subnamespaces which may make the index unusable with certain ACL setups.

UseHeading

Set useheading to 'Always'. This config creates page title from first heading found on page.

Nice URL

Before: http://wiki.zainal.web.id/doku.php?id=app:list
After: http://wiki.zainal.web.id/app/list
Reference: https://www.dokuwiki.org/rewrite

  • Enable Nice URLs at config
  • Use slash as namespace separator in URLs
  • Create .htaccess file at wiki folder
RewriteEngine on
 
RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php
web_app/dokuwiki.txt · Last modified: 2020/12/29 20:24 by zainal