• relative paths

    By Dietmar Dumke 2 decades ago

    For usage with replicas on multiple servers and easy maintenance (e.g. easy moving the db container to another folder on the server) :

    construct all paths in the wiki pages relative to the configured base url

    Avoid server names in the config -> paths relative to/, or use CGI SERVER_NAME

    • Paths ARE relative

      By Benedict R Poole 2 decades ago

      The server name is specified in the config file so that the RSS side of things works properly – you have to have absolute URIs for valid RSS output. Individual page links, resources etc., are all relative.



      For example, if you look at the constructor for the WikiPage.class script library you will see that the db path is computed at run-time.



      In the forthcoming release, changing the host details in the config document will automatically update all references to that value, so migrations will be simple with regards the RSS feed.