[Moin-user] Help with farmconfig.py

Chris G cl at isbd.net
Wed May 30 18:01:33 EDT 2007


Hmmm, I'm trying to set up multiple MoinMoin wikis using farmconfig.py
and I've got a bit lost.

I got a single wiki running fine using moin.py, so what do I actually
need to to to get multiple wikis?

It's not quite clear from the documentation at:-
    http://moinmoin.wikiwikiweb.de/HelpOnInstalling
how to set up the directories.

At the moment I have set up a directory (called moinmoin) that has the
following in it:-
   
    -rw-r--r-- 1 chris users 7016 2007-05-30 22:54 farmconfig.py
    -rw-rw---- 1 chris users 1616 2007-05-30 22:54 farmconfig.pyc
    drwxr-xr-x 3 chris users 4096 2007-05-30 22:41 jobs
    -rwxr-xr-x 1 chris users 3243 2007-05-30 20:13 moin.py
    drwxr-xr-x 2 chris users 4096 2007-05-30 22:41 mointest
    drwxrwx--- 3 chris web   4096 2007-05-30 19:27 underlay
    -rw-rw---- 1 chris web   5857 2007-05-30 20:18 wikiconfig.py
    -rw-rw---- 1 chris users 1721 2007-05-30 20:18 wikiconfig.pyc
 
In farmconfig.py I have:-

wikis = [
    ("jobs",    r"^localhost:8000/jobs/.*$"),
    ("mointest",  r"^localhost:8000/mointest/.*$"),
]

The jobs directory and the mointest directory have my original working
single MoinMoin installation (i.e. data and underlay directories).
Running moin.py works as before but trying to go to either of the
above URLs just get the response "No wiki configuration matching the
URL found!".

I suspect I just have the layout wrong but I'm not at all clear where.


-- 
Chris Green




More information about the Moin-user mailing list