Package: moinmoin-common
Severity: wishlist

Hi

This are the steps to make run moin with mod_python/apache2
aptitude -R install libapache2-mod-python2.3 moinmoin-common python2.3-moinmoin

and add at your convenience the following guide lines to
/usr/share/doc/moinmoin-common/README.Debian


Example: B single wiki with mod_python/Apache2
----------------------------------------------

 1) Create and populate /var/www/mywiki
    # mkdir /var/www/mywiki
    # cp -r /usr/share/moin/data /usr/share/moin/underlay 
/usr/share/moin/server/moin.cgi /var/www/mywiki

 2) Pass on the wiki to Apache:
    # chown -R www-data: /var/www/mywiki

 3) Configure Apache 2:
    Add the following lines to /etc/apache2/conf.d/wiki:

     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>

    and reload apache

 4) Configure MoinMoin:
    # edit /etc/moin/farmconfig.py
        (add mywiki to "wikis" and customize general stuff)
        # assure that:
        url_prefix = '/wiki'
    # cp /etc/moin/moinmaster.py /etc/moin/mywiki.py
    # edit /etc/moin/mywiki.py
        (Customize to your liking...)

 5) Enjoy your new wiki at http://your.site/mywiki/


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to