Hi everyone!
I recently installed dokuwiki on a simply.com-webspace, superhappy!
When I tried to follow the guide for secturity https://www.dokuwiki.org/security and got to the section about "Move Directories out of DocRoot".
I successfully moved "data" to a folder outside of my public_html and changed the location in the conf/local.php. All good.
Then it appears I need to also move /conf and add the preload.php to /inc. I did this and I get the error of not finding /pages.
If I understand the procedure correctly: I have then moved the folder along with the file containing the relative path to the folder where my pages are located?
My folder-tree looks like this, I made "specialfolder" as a folder to contain "data" and "conf" to keep it less cluttered.
- specialfolder/data
- specialfolder/conf
- public_html (empty)
- subdomain (all the rest)
The result is then:
specialfolder/conf/local.php contain:$conf['savedir'] = '../specialfolder/data';
subdomain/inc/preload.php contain: define('DOKU_CONF','../specialfolder/conf');
How do I update these files so that the paths are correct and DokuWiki can find the pages again?
Very very grateful for any help on this!