a public resource for all things web hosting, systems administration, and dedicated server management.

Software install inside an individual hosting account

  1. Download the latest version from http://moinmo.in/MoinMoinDownload (verify the checksum!)

  2. uncompress and untar
  3. Install:

    python setup.py install --home=$HOME
    cp -a ~/share/moin/htdocs ~/public_html/wiki
  4. Edit your shell profile to add something like:

    PYTHONPATH=$HOME/lib/python:$PYTHONPATH
    export PYTHONPATH

Web server config

  1. Setup vhost as per normal
  2. Add the following fragment inside the <VirtualHost *> section:

            <IfModule mod_rewrite.c>
            RewriteEngine On
    
            RewriteRule ^/wiki/       -                      [L]
            RewriteRule ^/error/      -                      [L]
            RewriteRule ^/robots.txt  -                      [L]
            RewriteRule ^/favicon.ico /home/USERNAME/public_html/wiki/favicon.ico       [L]
    
            # SUBPATH is optional
            RewriteRule ^/SUBPATH/?(.*) /home/USERNAME/public_html/cgi-bin/moin.cgi/$1 [L,type=application/x-httpd-cgi]
            </IfModule>

Wiki config


More articles : Web hosting support, dedicated server administration and useful hosting tools