1170
Comment:
|
1594
|
Deletions are marked like this. | Additions are marked like this. |
Line 33: | Line 33: |
Whould be to have http://wherewerehome.nn/wiki/$wikiname/ | All the static content will be in the DocRoot of the webserver (e.g. /var/www/$(wikiname|hostname)/htdocs At the end each host in the farm could have something like http://wherewerehome.nn/wiki/$(wikiname|hostname)/ with a rewrite rule (I'm might be totally wrong and a rewrite rule might not be usefull but I'm thinking in case of migration from server to server) in case of dedicated hostname, e.g. http://groupxy.com/wiki that point to http://wherewerehome.nn/wiki/$groupxy/ |
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-18
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/
All the static content will be in the DocRoot of the webserver (e.g. /var/www/$(wikiname|hostname)/htdocs
At the end each host in the farm could have something like http://wherewerehome.nn/wiki/$(wikiname|hostname)/ with a rewrite rule (I'm might be totally wrong and a rewrite rule might not be usefull but I'm thinking in case of migration from server to server) in case of dedicated hostname, e.g. http://groupxy.com/wiki that point to http://wherewerehome.nn/wiki/$groupxy/