VmsWiki setup
This wiki is a simple, straight forward MoinMoin wiki and it has been created using the standard procedure that compes with Jean-Francois Pieronne's installation. Just run the procedure and enter the right data.
But one thing I did change, since it will ease an upgrade of MoinMoin, causing less dependency on the version.
When a new version of MoinMoin is released, the logical MOIN_ROOT will refer to the moinmoin version directory; if you use the LD dsitribution (highly recommended!) it will be the directory [MOINvvv] on the python 'disk'. The procedurer that starts the pyton engine will then create a logical MOIN_STATICvvv, referring to MOIN_ROOT:[share.moin.htdocs.] ('vvv' means 'MoinMoin version'). This logical is used in the file MOIN_WIKI_ROOT:[mywiki]wikiconfig.py - a file copied from the default wiki environment when creating the wiki:
logo_string=u'<img src="/moin_static161/common/IHHGTVMSDONTPANIC.gif">' url_prefix_static = '/moin_static161'
If you use your own logo, for instance, it must be copied to that directory as well. Not really desireable. Nor the hardcoded prefix reference.
Updating moinmoin now requires a copy of the logo file to the new environment, and changing these two lines.
To avoid this, I did the following:
Locate the logifile in a directory MOIN_WIKI_ROOT:[common] (a new directory; it could be anywhere but to prevent possible problems in using a logical name, I used this).
- Edit wikiconfig.py to refer to MOIN_STATIC - without a version speecification
Define a system logical MOIN_STATIC referring to MOIN_ROOT:[shared.moin.common.] (concealed) and to MOIN_WIKI_ROOT:[000000.] (concealed). Or, for the moment, the full references to those concealed devices.
- Change the mapping in the webserver to pass /MOIN_STATIC/* to /MOIN_STATIC/*
Of course, these logicals need to be set in the system startup before the webserver is started (actually: before the wiki is accessed)
As you can see - it works.
