Here is a short summary of an example installation. Having read this document, I hope you see what I did and why I did it.
ftp ./wiki/data ==> /data
ftp ./wiki/htdocs ==> /moin_static170
ftp ./wiki/underlay ==> /underlay
ftp ./MoinMoin ==> /MoinMoin
ftp create directory /config
create ./.htaccess insert content:
deny from all
ftp ./.htaccess ==> /data
ftp ./.htaccess ==> /underlay
ftp ./.htaccess ==> /MoinMoin
ftp ./.htaccess ==> /config
edit ./wiki/server/moin.cgi:
replace:
#!/usr/bin/env python
by:
#!/usr/bin/pythonX.X
replace:
## sys.path.insert(0, 'PREFIX/lib/pythonX.X/site-packages')
by:
sys.path.insert(0, '.')
replace:
sys.path.insert(0, '/path/to/wikiconfig')
by:
sys.path.insert(0, './config')
ftp ./wiki/server/moin.cgi ==> /moin.py
edit ./wiki/config/wikiconfig.py:
set data_dir:
data_dir = './data/'
set data_underlay_dir:
data_underlay_dir = './underlay/'
set url_prefix:
url_prefix = '/moin_static170'
ftp ./wiki/config/wikiconfig.py ==> /config/wikiconfig.py