MoinMoin farming mode with apache2 and mod_wsgi

Why? Because MoinMoin is a widely used wiki, dyne.org uses MoinMoin and I thought to keep a page with a guide to install the latest moinmoin version at the time I'm writing 2024-04-19

Basic idea

The basic idea is that in farming mode each wiki has it's own instance. For its own instance we mean data, configuration files, stylesheets and plugins Search on the online documentation of moinmoin I found http://moinmo.in/FarmQuestions

/home/wiki/
    bin/
        moin.wsgi
    config/
        farmconfig.py   # contain the basic configurations common to all wikis
        mywiki.py       # site1
        rcyb.py         # site2
        logging/
            logfile.conf
    plugin/          # systemwide plugins
    underlay/        # read-only doc
        pages/   #<--- need to be rwx for owner and group www-data
    wikis/
        mywiki/
            data/    #<--- need to be rwx for owner and group www-data and so for
                plugin -> ../../../plugin
        rcyb/
            data/

Whould be to have http://wherewerehome.nn/wiki/$wikiname/