[Moin-user] farmconfig.py configuration ?

Cedric BRINER work at infomaniak.ch
Wed Jan 11 01:21:02 EST 2006


hello,

I've kindly successfully installed on a Sarge/Debian a moinmoin.

I have 2 problems that I'd like to discuss


1)
--
It's working but there is some stuff mixing up with the url.

the farmconfig.conf
---%<---
wikis = [
    ('sicilewiki', r"^.[^/]*/sicilewiki/.*$")
    ,('yuhlwiki', r"^.[^/]*/yuhlwiki/.*$")
]

and when I go on the server:
http://fact.yuhl.com/sicilewiki/foo/FrontPage
http://fact.yuhl.com/sicilewiki/whatever/FrontPage
                                  ^
I got this behaviour with the url/
where I can put *whatever* here..
I'd like to have something like:
http://fact.yuhl.com/sicilewiki/FrontPage


2)
that one is maybe also related to the first one.
I have to add in the config for sicilewiki :
data_underlay_dir = '/var/www/sicilewiki/underlay/'

when famconfig.py
---%<---
class FarmConfig(DefaultConfig):
    data_dir = './data/'
    data_underlay_dir = './underlay/'
    url_prefix = '/wiki'  ####(mod_python)
---%<---

ls /var/www/sicilewiki/
data/  moin.cgi*  password.file  underlay/

so it shows that the ``data_dir'' directive from ``class FarmConfig(DefaultConfig)'' works well, except for the data_underlay_dir ???





thank you in advance for your time

Ced.
-- 

Cedric BRINER
Geneva - Switzerland




More information about the Moin-user mailing list