-
Notifications
You must be signed in to change notification settings - Fork 1
dokuwiki
omgslinux edited this page Mar 6, 2025
·
1 revision
The dokuwiki template, as any other php app template, manages to copy the basic php definitions.
Then, the custom variables
# IMPORTANT: Before installing, set this to empty. After, set to anything and recreate host
DOKUWIKI_INSTALLED=""
# Set to 0 (default), 1 or 2, according to the $conf['userewrite'] setting in conf/local.php
DOKUWIKI_USEREWRITE="0"
# Recommended defaults for dokuwiki
CLIENT_MAX_BODY_SIZE="4M"
CLIENT_BODY_TIMEOUT="60";
- The DOKUWIKI_INSTALLED variable has the purpose to protect the
install.php
file from being executed. So, before installing, this variable has to be initially set to empty. Once installed, to avoid anyone running the installation process again, set it to any value. - The DOKUWIKI_USEREWRITE variable must be initially set to 0. After installation, if from the admin page (or manually editing the global dokuwiki config file) you change the PHP
$conf['userewrite']
variable, then you have to set this variable to the same value. You may need to delete the cache pages in dokuwiki directory.
Not necessary to mention that after any change in any variable, you have to regenerate the vhost file and restart nginx.