What is the difference between DOKU_BASE and DOKU_REL? As mentioned here. https://www.dokuwiki.org/devel:environment#doku
Read the page again. DOKU_BASE can be relative or absolute based on the canonical setting.