To run Dokuwiki on Hiawatha, you need the following UrlToolkit rule for URL rewriting:
UrlToolkit { ToolkitID = dokuwiki Match ^/(bin|conf|data|inc)/ DenyAccess Match ^/_media/(.*)\?(.*) Rewrite /lib/exe/fetch.php?media=$1&$2 Match ^/_media/(.*) Rewrite /lib/exe/fetch.php?media=$1 Match ^/_detail/(.*)\?(.*) Rewrite /lib/exe/detail.php?media=$1&$2 Match ^/_detail/(.*) Rewrite /lib/exe/detail.php?media=$1 Match ^/_export/([^/]+)/(.*) Rewrite /doku.php?do=export_$1&id=$2 Match ^/$ Rewrite /doku.php RequestURI exists Return Match /(.*)\?(.*) Rewrite /doku.php?id=$1&$2 Match /(.*) Rewrite /doku.php?id=$1 }