Software install inside an individual hosting account

This article provides step by step instructions specific to the installation of MoinMoin in a shared web hosting account where you may not always have the same levels of access or environment control as you would on your own server or a dedicated hosting environment.

  1. Download the latest version from (verify the checksum!)

  2. uncompress and untar
  3. Install:

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

    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]

Wiki config

Wiki: dedicated/Installing_Moin_Moin_as_a_cgi (last edited 2008-12-23 13:58:37 by AndrewRogers)