Debian Sarge isn't supported anymore
Debian doesn't provides security updates any more for Sarge. DO NO USE IT

Debian Sarge, with apache2 and mod_python

  1. Apache2 and mod_python should be installed by now.Install moinmoin.

# apt-get install python-moinmoin
# mkdir /var/www/mywiki
# cp -r /usr/share/moin/data /usr/share/moin/underlay /usr/share/moin/server/moin.cgi /var/www/mywiki
# chown -R www-data:www-data /var/www/mywiki
# chmod -R g+w /var/www/mywiki

 Alias /wiki/ "/usr/share/moin/htdocs/"
 <Location /mywiki>
 SetHandler python-program
 PythonPath "['/var/www/mywiki','/etc/moin/']+sys.path"
 PythonHandler MoinMoin.request::RequestModPy.run
 PythonDebug On
 </Location>

 /etc/init.d/apache2 reload

 wikis = [
           ("mywiki",    r"^yoursite.com/mywiki/.*$"),
       ]

wikis = [
    ("mywiki",  r".*"),   # this is ok for a single wiki
]

 # cp /etc/moin/moinmaster.py /etc/moin/mywiki.py

 sitename = u'MyWiki' # [Unicode]
 data_dir = '/var/www/mywiki/data'
 data_underlay_dir = '/var/www/mywiki/underlay'
  1. Comment out any other data_dir that might exist there.

    1.Enjoy your new wiki at http://yoursite.com/mywiki/ 1.Thanks to http://lucasmanual.com/mywiki/

How to?
I don't know how to make these work:

- use DynDNS and ddclient

MoinMoin: MoinMoinPackages/DebianLinux/DebianSarge (last edited 2010-04-03 08:44:40 by FranklinPiat)