The following 518 words could not be found in the dictionary of 615 words (including 615 LocalSpellingWords) and are highlighted below:

able   above   absolute   accomplish   account   Action   Active   activestate   adapt   add   Add   adjust   adjusting   Admin   Administrative   again   aggressive   alias   all   Allow   allow   Allowed   already   alt   Alternatively   always   an   and   And   Another   another   App   appear   append   Application   application   apply   appropriate   archive   assume   at   aware   back   bad   basic   be   because   been   before   Before   begining   being   below   best   Bit   born   box   boxes   bring   broken   Browse   but   button   by   cached   called   can   cannot   cd   certain   Changes   Characters   charset   Check   check   checkbox   checked   choose   chose   chosen   clicked   command   commands   components   Components   config   configuration   Configuration   Configure   confusion   considered   console   contains   Contents   Control   correctly   created   creating   Creating   Custom   Default   default   defaults   defines   deleting   Denied   description   Description   dialog   different   directories   disallow   display   distribution   document   don   done   down   download   Download   downloaded   drop   each   easiest   edit   Edit   Eg   elsewhere   en   enabled   enter   Enter   entry   Errors   exact   exe   executable   Executable   exetension   exists   expand   expressions   Extension   extension   Extensions   extensions   farmconfig   file   files   Finally   find   finish   fitting   fix   folder   follow   following   Foot   For   for   format   from   From   Front   ftp   get   give   go   Go   going   group   gz   High   hit   hitting   how   htdocs   htm   Identity   if   If   iis   images   img   import   Import   imported   in   In   include   incorrect   Index   index   inetsrv   Information   infra   ini   install   installation   installed   Installer   installer   Installing   Instance   instance   instead   instructions   intend   intended   interpret   interpreter   into   its   itself   just   later   latest   least   Leave   Lib   like   likely   line   lines   list   listing   ll   loads   Local   location   locations   log   logo   Logo   look   make   Make   Manager   mandatory   Mappings   match   md   means   menu   Menu   message   microsoft   Microsoft   might   modify   Modify   module   more   My   mywiki   name   named   namely   necessary   need   Network   never   new   New   newer   next   Next   No   no   node   Note   Notice   Now   now   Of   of   often   Ok   On   on   One   one   only   Open   option   options   Or   or   out   P2   package   packages   page   Page   pages   Panel   path   Path   paths   performing   period   Permission   permissions   personal   place   Please   point   pointing   points   Pool   pools   Predefined   prefix   Preparation   previous   probably   problem   problems   procedure   Products   program   programs   Programs   properties   Properties   pyc   python   Python   Python22   python24   Quite   re   read   Read   receiving   Recent   recent   recommended   record   reference   reflected   refresh   regular   relative   release   remove   Remove   Repeat   Required   required   Requirements   restricted   result   Right   right   Root   run   running   runs   safely   same   Save   save   Scan   scope   screen   scripts   security   see   See   seems   Select   select   selected   Server   server   serverfarm   servername   service   Service   Services   Set   set   setting   settings   Settings   setup   several   share   shared   should   show   simply   since   Since   site   Site   sitename   so   software   some   something   space   specific   src   standard   Start   start   static   status   steps   still   string   structure   sub   such   support   sure   sys   system   System   system32   tab   Table   tar   temp   tested   text   than   that   That   The   the   their   them   themes   then   Then   there   These   these   they   things   this   This   times   to   To   Tools   tree   Troubleshooting   try   two   type   uncheck   under   Under   underlay   unknown   unless   unzip   up   updated   urlscan   usage   use   Use   used   useless   user   using   utf   values   variable   version   versions   via   Virtual   virtual   want   was   way   We   we   Web   web   webserver   whatever   When   when   Where   which   while   Wide   wikiconfig   wikiname   will   window   Windows   windows2000   wish   With   with   within   without   wizard   won   work   workaround   works   World   would   write   xcopy   You   you   your   zip  




Before you install MoinMoin, make sure you have the necessary infra-structure in place, namely the Internet Information Services webserver (any version should be OK), and a Python installation (version 2.3 is required, the latest python release is recommended).

In the following description, we assume that you have installed or will install things to these locations:

  • IIS to its default location
  • C:\Python - the Python interpreter

  • C:\Moin - MoinMoin itself

Quite often, you might want to install things elsewhere, which is no problem at all; you just have to adapt any paths that appear in a command or config file to the locations you have chosen.

This installation procedure was tested with IIS 5.1 for Windows running on Windows XP SP2, using Python 2.4.


Installing IIS

From Microsoft: (

  • To install IIS, add components, or remove components: Click Start, point to Settings, click Control Panel and start the Add/Remove Programs application. Select Configure Windows, click the Components button, and then follow the on-screen instructions to install, remove, or add components to IIS.

Make sure that your webserver runs without problems before you start to install MoinMoin; problems with your webserver installation are not in the scope of this document.

Installing Python

Download Python 2.3.4 and install it. Python installation is done via a standard Windows installer program.

Alternatively, you may download the ActivePython distribution as a Microsoft Installer package.

Installing MoinMoin

Before creating a wiki instance, you have to download and install the basic MoinMoin software. We assume you already have downloaded the distribution archive to the "C:\TEMP" directory.

Open a console window and enter the following commands:

cd \temp
cd moin-1.3
python install --prefix=C:\Moin --record=install.log
  • /!\ TODO: fix instructions for .tar.gz format used by recent moin versions.

This will install all necessary files to the "C:\Moin" directory, and create a "install.log" file listing all the files that are created there.

Creating a Wiki Instance

Enter these commands in a console window from C:\Moin:

md mywiki
md mywiki\data
md mywiki\underlay
xcopy share\moin\data mywiki\data /E
xcopy share\moin\underlay mywiki\underlay /E
copy share\moin\server\moin.cgi mywiki\
copy share\moin\config\ mywiki\
copy share\moin\htdocs\index.html mywiki\default.htm

"mywiki" is the name of your wiki instance, you might want to chose a different name best fitting the intended use of this instance; just don't name it simply "wiki", because that would result in confusion and problems later on.

We have to make sure that moin.cgi can find the MoinMoin directory, so that "import MoinMoin" will work. The easiest way to make sure MoinMoin can be imported is to append to sys.path within moin.cgi.

You can change the first two lines of code in moin.cgi to something like this:

   1 #!python
   2 import sys
   3 sys.path.append('C:/Moin/Lib/site-packages')

Notice that we're pointing to the directory which contains the MoinMoin directory, not the directory itself.

Next, you'll need to create two virtual directories in IIS. One for the shared data, and one for this specific wiki instance.

Go to Control Panel => Administrative Tools => Internet Information Service. Open up the tree to Default Web Site.

Right click on Default Web Site and choose New => Virtual directory. This will bring up a wizard with the mandatory useless first screen, hit next. Enter "wiki" for the alias name and hit next. Browse to "C:\Moin\share\moin\htdocs" and hit next. Leave the Access permissions at their defaults and hit next. And now you're done, hit finish!

Now follow the same steps, but set the alias to "mywiki" and the path to "C:\Moin\mywiki".

Use IIS Admin to remove permissions to read the data directory: expand the "mywiki" node, right click on data, select Properties, and uncheck Read. Repeat these steps with the underlay directory.

Now you need to setup the 'mywiki' alias so that it will run Python to interpret .cgi files. On Windows Server 2003, you will need to click the Create button under Application Settings to create an application space. Right click on your new 'mywiki' alias and choose Properties. On the first tab (Virtual Directory), click the Configuration button. The first tab is the App Mappings tab, which defines which programs to use for each file exetension. Click Add. Browse to your python.exe (probably something like c:\pythonXX\python.exe). Then add -u "%s" "%s" after the Python executable path. The Executable line will look something like this: "C:\Python22\python.exe" -u "%s" "%s". In the Extension box enter .cgi with the begining period. Make sure that the Check that file exists option is not checked (if it is, MoinMoin won't be able to display sub pages). Ok, you're done with the alias configuration, click OK several times to get back out of all the dialog boxes.

If you add another wiki instance, you'll only need to setup the reference to its folder, they can safely share the "wiki" alias which points to static files only.

That is all, try to access your new-born wiki with the URL "". You should see the FrontPage, try to edit and save it, and if that works, see if your edit is reflected on the RecentChanges page.

Finally, edit "" and at least change "sitename" and "logo_string" to some personal values:

sitename = u'My Wiki'
logo_string = u'<img src="/mywiki/images/mywiki-logo.gif" alt="MyWiki Logo">My Wiki'

Where "images" is a directory under your "mywiki" instance.

NOTE: The configuration variable "url_prefix" in "" should match the alias for "C:\Moin\share\moin\htdocs" or themes will not work ("/wiki" for the instructions above). This way, any reference in "" to "/wiki/something" will look in the shared data directory and a reference to "/mywiki/something" will look in the wiki instance directory. These are considered absolute paths because relative paths will not work correctly.

Since MoinMoin 1.3.5, it seems you need to change the Custom Errors setting for 404 before you can create new pages. You can accomplish this by performing the following steps:

  1. Go into the IIS Manager, right-click on 'mywiki' (or whatever your wiki instance directory is called), and select properties.
  2. Next, go to the Custom Errors tab and find the 404 entry, and click the Set to Default button.

IIS 6.0 (Windows Server 2003)

The instructions below also apply to IIS 6.0 but the more aggressive security settings in newer version of IIS disallow the usage of unknown CGI extensions. That means you will always get a 404 error unless you do this:

  1. Open IIS Manager by going to Start Menu->Programs->Administrative Tools->IIS Manager.

  2. Go to the Web Service Extensions folder.

  3. Under the Action menu, select Add a new Web service extension....

  4. For Extension name, give it a name such as .cgi or Python cgi or something.

  5. Under Required files click the Add... button and type in the exact command-line string you used above. Eg: c:\python24\python.exe -u "%s" "%s", then click the Ok button.

  6. Make sure the Set extension status to Allowed checkbox is checked and click the Ok button.

Another change that may be necessary if you are receiving HTTP Error 403 19 1314 while using IIS 6.0 is to adjust the Identity settings for the Application Pool that is being used by your site. The following steps assume you are adjusting the Default Web Site.

  1. Open IIS Manager by going to Start Menu->Programs->Administrative Tools->IIS Manager.

  2. Go to the Application Pool folder.

  3. Select the Application Pool you wish to adjust. (likely DefaultAppPool ) When you do this on the right you will see the Application pools for each site on the server. This will include a Description (likely Default Application )and a Path (<Default Web Site>). In this way you can be certain you are adjusting the appropriate Application Pool.

  4. With DefaultAppPool still selected right click and select Properties.

  5. Select the Identity tab and with Predefined clicked use the drop down box to change the Identity to Local System instead of Network Service.

    Please be aware that this is a workaround since you SHOULD set your group settings to allow Network Service to access the cgi scripts.

Under Windows Server 2003, you will also need to give your IUSR_MACHINENAME account Modify access to the mywiki\data and mywiki\underlay sub-directories, as file system permissions are more restricted by default than previous Windows versions.


If you see an error like "ImportError: No module named MoinMoin", it means that python cannot find MoinMoin. See above for how to add to sys.path.

If you see an error like Error 13: Permission Denied, it means that your web user permissions for the files do not have write/modify enabled.

If the page never loads after hitting Save Changes, you should check the permissions of the data directory. Make sure the IUSR_COMPUTERNAME user has modify permissions.

If some images like InterWiki and WorldWideWeb don't show up, it could have been because of incorrect permissions or a bad "url_prefix" in "" or the cached pages need to be updated by an Edit or deleting them in the data folder. Or you are using MS IE which has broken CSS :before support - try another browser.

If you see an error message like:

Check your URL regular expressions in the "wikis" list in "". Content-type: text/html;charset=utf-8
MoinMoin Configuration Error
Could not find a match for url: "servername/wikiname/moin.cgi?
Check your URL regular expressions in the "wikis" list in "".

and you don't intend on using a serverfarm, remove the and farmconfig.pyc files and try again. The error message shouldn't appear when you refresh the page.

If you are using URLScan, you might have to add the following setting in the file %SystemRoot%\system32\inetsrv\urlscan\urlscan.ini: