This is a returning question, but no solution was given before.
Maybe this workaround can help you (this is what i use running on a Windows server):
Does your host has a seperate directory for databases ?
On windows hosting this directory can be reached by on server running programs like php via a path like c:\yoursitename\databases
If yes, This directory cannot be reached from the internet directly.
Put your data and conf directory there and change or create your
preload.php so this points to that directory :
define('DOKU_CONF','c:/yoursitename/databases/conf/');
Config Tips are also in :
https://www.dokuwiki.org/config