[Moin-user] config options ignored with farmconfig.py

Ralf Gross Ralf-Lists at ralfgross.de
Thu Feb 1 09:37:18 EST 2007


Ralf Gross said:
> If I define data_underlay_dir only in farmconfig.py, I get this error:
>
> data_underlay_dir "./underlay/" does not exists, or has incorrect
> ownership or permissions.
>
> Similar to that url_prefix = '/wikifarm' seems also to be ignored and the
> default value is used:
>
> ...."GET /wiki/modern/css/common.css HTTP/1.1" 404 344....
>
> [snip]
> Setting the data_underlay_dir and url_prefix options in bluewiki.py and
> redwiki.py works.

I forgot to change/add the following options in bluewiki/redwiki's config
file.


from farmconfig import FarmConfig
[...]
class Config(FarmConfig):
[...]

Now it works as expected.

Ralf







More information about the Moin-user mailing list