welcome: please sign in

The following 634 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
abending   able   about   above   absence   absolute   access   accidentally   action   actions   activate   Active   activestate   Add   add   addition   additional   Additional   Additionally   address   administrator   again   Against   Alias   all   allowing   almost   also   alternative   Although   an   An   and   And   anonymous   any   Apache   apache   Apache2   append   appropriate   archive   are   artificially   as   As   assume   at   Attach   Authenticating   Authentication   authentication   available   avoid   backing   Backup   backup   basis   Be   be   because   become   before   Before   being   below   better   Binary   boss   both   browser   but   by   called   can   Cannot   cannot   cause   cd   Cgi   cgi   change   Change   changed   changes   Changes   changing   Check   choice   choose   Choose   clone   clones   clues   cmd   com   commandline   commands   common   community   complete   components   conf   config   configuration   Configuration   Configuring   connections   considered   contain   contains   content   Contents   Controller   convenient   convention   copied   copy   correct   correctly   could   create   created   creating   Creating   current   currently   dangerous   data   dealing   Default   default   Delete   delete   deleting   describes   desktop   detailed   details   determine   develop   deviated   Diagnosis   diagnostics   did   different   dir   directories   directory   disk   displayed   distributed   distribution   distributions   Do   do   docs   documentation   Documents   does   doesn   Domain   don   download   Download   downloading   Downloading   dozens   Dramatically   dropped   due   each   Earlier   easily   Easy   easy   edit   Edit   editing   editor   eeddaa   Either   either   else   email   ensure   enter   entering   enumerating   error   Error   errors   etc   exactly   examine   example   excluded   exe   executable   execute   executing   exist   Expand   expanding   explains   explanation   Explorer   eye   fail   farm   farmconfig   Fast   few   File   file   Files   files   find   first   folder   folders   following   For   for   forbid   forward   Found   found   free   from   Front   give   Go   going   good   great   greater   Group   grouped   gz   handling   happens   has   have   having   Help   here   how   htdocs   http   httpd   Icons   idle   If   if   images   import   important   in   including   incorrect   increase   information   informative   infrastructure   insert   install   Install   Installation   installation   installed   Installer   installing   Installing   Instance   instance   instances   instead   Instead   instructions   instructs   Internal   internal   Internet   interpreted   into   introduce   irrelevant   is   it   It   keep   know   later   latest   least   let   Lib   license   like   Like   likely   limit   line   lines   listing   ll   loaded   loading   Loads   local   location   log   logins   logs   look   make   many   Many   may   md   means   message   messages   Microsoft   mistyped   module   more   most   multiple   must   My   myorganization   mywiki   mywiki2   mywiki3   name   Name   named   necessary   need   needed   network   newborn   newly   Next   next   non   normal   normally   Not   not   Note   now   nowadays   number   obsolete   Of   of   off   officially   older   On   on   once   one   only   Open   operating   or   org   organization   organizations   other   out   output   over   overwriting   packages   packs   page   Page   pages   part   particular   password   patches   path   paths   peeking   people   performance   performing   personal   picking   place   placing   plan   platform   point   poor   popular   possibilities   possibility   practice   prefer   Preparation   presence   probably   problem   problems   procedure   proceed   proceeding   process   product   Product   products   program   Program   properly   protects   provided   provides   public   py   python   Python24   Pythonwin   questions   Questions   re   Read   ready   real   reason   Recent   recommended   record   Reference   reflected   regular   release   remotely   Rename   renaming   repeat   replace   report   requested   require   required   Requirements   requires   resolved   resources   restarting   result   retain   rewrite   right   root   rowbgcolor   Run   run   running   runs   safe   same   save   scattered   script   Script   scripts   second   security   see   See   separators   series   serve   Server   server   service   set   setting   setup   Setup   several   share   shebang   sheets   should   shouldn   shown   shows   Simple   site   sitename   situation   slashes   so   software   some   space   specific   specified   standard   Start   start   State   statement   static   static160   step   Steps   steps   strategy   strongly   structure   style   subfolders   Substitute   such   support   sure   sys   system   System   systems   Table   table   tar   tell   tells   temp   temporarily   Test   test   than   that   The   the   their   then   there   There   therefore   this   This   those   through   throughout   time   titled   to   To   tool   tools   topic   trailing   transform   Troubleshooting   try   two   type   Typical   typically   ultimately   under   underlay   unexpected   unix   Unix   unlike   up   Update   upgrade   url   use   Use   used   useful   user   Users   users   uses   using   utility   variants   various   verify   version   versions   want   was   waste   way   well   what   when   where   which   Wiki   wiki   wikiconfig   wikis   will   Win   Win32   Win32with   Win98   window   windows   Windows   winzip   wish   with   within   without   Without   won   work   works   would   written   www   xcopy   xx   You   you   your   zip   Zip  

Clear message
Page Locked

HelpOnInstalling / ApacheOnWin32

1. System Requirements & Preparation

Before you install MoinMoin, you must have the necessary infrastructure in place. This procedure explains the steps necessary to install the infrastructure and provides detailed instructions for the installation of MoinMoin.

Many users prefer to install software products in a folder other than the installation default. Python typically changes the default installation folder name with each point release, and Apache has changed the default installation folder name with the release of version 2. Instead of enumerating all the possibilities at each step, this procedure will use the Reference name in the table below as the installed location for each product. Substitute your real installation location when editing configuration files and entering commands.

Reference

Product

Installation Default or Typical Name

C:\Apache

Apache

C:\Program Files\Apache Group\Apache2

C:\Python

Python

C:\Python24

C:\Moin

wiki instances

C:\My Documents\Moin

Downloading and installing all of the required components below will require almost 100 MB of disk space - shouldn't be a problem nowadays, right?

2. Installation

2.1. Installing Apache

  1. Download & Install Apache 2.0.xx or greater

    1. Apache2 was re-written with better support for non-unix systems, therefore the 2.0.xx series is strongly recommended for Windows users over Apache 1.3.xx.

    2. Go to http://httpd.apache.org

    3. download the Win32 Binary (MSI Installer) for the latest version of Apache 2.

    4. Read the Apache documentation to determine the correct installation procedure for your situation.
    5. Test your Apache installation to make sure it runs correctly before proceeding (questions and problems with the Apache installation should be resolved through the resources provided by the Apache organization).

2.2. Installing Python

There are currently two different distributions of Python available for Windows.

  1. The normal Python distribution is available from http://www.python.org. This is distributed as a windows executable (.exe) file.

  2. An alternative distribution called ActivePython is available from http://www.activestate.com/. This distribution uses the MSI Installer and contains some tools specific to the Windows operating system and a popular Windows IDE called Pythonwin, which may be useful if you also plan to develop in Python. ActivePython is available for free; an email address is requested (but not required) before downloading.

MoinMoin will work with either distribution, but requires Python release 2.3 or later. Download and install the distribution of your choice. Questions and problems dealing with the Python installation process should be resolved through the use of resources provided by Python.org or ActiveState. Be sure your Python installation is correct before proceeding.

2.3. Installing MoinMoin

  1. Download MoinMoin

  2. Expand the archive

    • Note: users of older versions of WinZip report problem expanding .tar.gz files. Either upgrade or use the free 7-Zip utility.

    • Expand the archive into C:\TEMP or an alternative location.

    • You should then have a folder such as C:\TEMP\moin-x.x where "x.x" is the current release number. This folder will contain a setup.py file in addition to several other files and subfolders.

  3. Run Setup.py from the commandline

    • Open an DOS window (start > Run... > type cmd) and enter the commands:

    C:
    cd \TEMP\moin-x.x
    C:\Python\python setup.py install --record=install.log

The above commands will add MoinMoin to your C:\Python installation and create an install.log file in C:\temp\moin-x.x listing all the copied files. You can use Windows Explorer to examine the newly created folders within C:\Python. You should find a C:\Python\share\moin folder and a C:\Python\Lib\site-packages\MoinMoin folder. The MoinMoin folder contains many Python scripts and several subfolders.

You are now ready to create a wiki instance.

3. Configuration

It is a good practice to try to keep all of your personal or site specific data under a few root folders. This way you can easily backup your important data on a regular basis without having to waste time either backing up static files or picking out dozens of important folders scattered throughout your folder structure. You should avoid placing your wiki data under the C:\Python folder so that you can later upgrade Python or MoinMoin without accidentally overwriting or deleting your wiki data. For the same reason, you probably don't want to place your wiki data within the C:\Apache folder.

Choose a location appropriate for you; the following instructions assume you will be creating one or more wiki instances in C:\Moin\ and the first wiki instance will be named mywiki.

You may replace the name mywiki with almost any name you wish, but do not use wiki because that is used by MoinMoin for loading standard images and style sheets. Although this can be changed later, the name you choose for mywiki will become part of the url used to access your site, e.g. http://server.myorganization.org/mywiki/FrontPage.

3.1. Creating a Wiki Instance

Start an DOS window and enter the commands below. This will create a clone of the MoinMoin wiki in the mywiki folder.

cd C:\
md Moin
md Moin\mywiki
md Moin\mywiki\data
md Moin\mywiki\underlay
cd \Python\share\moin
xcopy data        C:\Moin\mywiki\data /E
xcopy underlay    C:\Moin\mywiki\underlay /E
copy  config\*.* C:\Moin\mywiki\*.*
copy  server\*.* C:\Moin\mywiki\*.*

If your server is going to run multiple wikis, you need to create additional clones. Do the same commands again, but use mywiki2 instead of mywiki.

3.2. Configuring wikiconfig.py

Edit C:\Moin\mywiki\wikiconfig.py and at least change sitename to the name of your wiki:

    sitename = 'My Wiki'

Additionally, set data_dir and data_underlay_dir to the absolute paths of the particular directories. Like here:

    data_dir = r'C:\Moin\mywiki\data'
    data_underlay_dir = r'C:\Moin\mywiki\underlay'

For a public installation, you'll normally want to forbid some of the more dangerous actions. Add a line like this to wikiconfig.py:

    actions_excluded = ['AttachFile', 'DeletePage', 'RenamePage', ]

If you will not be running a Wiki farm (if you're not sure what this means, then you probably won't be), make sure to delete the farmconfig.py file from the C:\Moin\mywiki directory, or else moin.cgi will most likely give off various errors (including one about not being able to find a configuration file) and will ultimately fail to start up properly.

Additional configuration details can be found in HelpOnConfiguration.

3.3. Configuring moin.cgi

Use your editor to edit the file C:\Moin\mywiki\moin.cgi. Change the first line (the shebang statement) to point to your local Python executable program. Note the forward slashes -- Apache uses the Unix convention for folder separators. This tells Apache the moin.cgi file is an executable script that will be interpreted by a program to be loaded from C:/Python/python.

 #! C:/Python/python

3.4. Configuring Apache httpd.conf

The next step is to tell Apache that is has more work to do. Use your editor to append the following lines to C:\Apache\conf\httpd.conf. Note the presence and absence of trailing slashes, it is important to enter the lines exactly as shown below.

Alias       /moin_static160/ "C:/Python/share/moin/htdocs/"
ScriptAlias /mywiki          "C:/Moin/mywiki/moin.cgi"

The Alias line above instructs Apache to serve images, style sheets, etc. from the specified folders and subfolders. The ScriptAlias line is needed once for each wiki instance, so if you have multiple wikis, repeat the statement using mywiki2, mywiki3, etc. The ScriptAlias statement instructs Apache to execute scripts from the specified folder. See the Apache docs for a complete explanation.

Test your changes by restarting your Apache server and try to access your newborn wiki with the URL http://127.0.0.1/mywiki. You should see the FrontPage, try to edit and save it, and if that works, verify your edit is reflected on the RecentChanges page.

And now, it is up to you and your user community to transform your wiki into an informative and useful tool. You will probably want to retain most of the HelpOn~ pages dealing with editing, delete those pages with irrelevant information (like this page, don't let your users or boss know how easy it was to install MoinMoin ;-) ), and rewrite the FrontPage to introduce your wiki topic.

4. Troubleshooting

The first place to look for clues when the unexpected happens is to try changing your url to: http://127.0.0.1/mywiki?action=test. If Apache can find and execute the module C:/Moin/mywiki/moin.cgi, a page of diagnostics titled MoinMoin CGI Diagnosis will be displayed. Check the output for error messages.

The second place to look for is C:\Apache\logs\error.log. The following are common errors grouped by the message displayed by your browser:

5. Next Steps

5.1. Authenticating MoinMoin Users Against a Domain Controller

5.2. Simple Windows MoinMoin Backup

5.3. FastCGI with Windows