cosmocode / dokuwiki-plugin-farmer

Completely manages a DokuWiki farm setup
https://www.dokuwiki.org/plugin:farmer
GNU General Public License v2.0
11 stars 6 forks source link

Setup farmer with secured data and conf #52

Closed ivangretsky closed 6 years ago

ivangretsky commented 7 years ago

Good day! Thanks for this plugin. Was going to try it for months, and today is THE day,

I got an dokuwiki existing installation. I moved data and conf folders out of web root as it was advised here. I have creted inc/preload.php and modified DOKU_CONF constant there.

When installing dokuwiki-plugin-farmer this file gets ovewritten. Now I do not know where should I define DOKU_CONF to make existing installation (the farmer) be still accessible, and not have any trouble (like notices and I do not know what else to come) in the future with animals.

Could you please suggest how to configure Dokuwiki in this case?

ivangretsky commented 7 years ago

I guess I can modify this line, but is it upgrade-safe way?

ivangretsky commented 7 years ago

I think there are other issues when working with "secured" setup (conf and data folders moved out of the web root). When I create new animals, the inheritance work with the default folder not taking into account the moved folders. Or am I missing something?

splitbrain commented 6 years ago

Yeah moving the conf directory of the farmer to a non-standard path is not really supported by this plugin. And I don't see an easy way to do that.