[Moin-user] Error after changes

Nir Soffer nirs at freeshell.org
Mon Feb 13 12:39:09 EST 2006


On 13 Feb, 2006, at 16:45, Matthew C. Miller wrote:

> I assume you mean in the farmconfig.py file, in the "wikis" section.
>
> Currently, I have 50 (due to multiple access URLs for the same 23
> sites).
>
> Here's a copy of what's in my farmconfig.py (by the way, if there's a
> better way to do the duplicate URLs going to the same wiki, I'd love to
> know!):


use this:

base = 'www.example.com'

wikis = [
	(wiki1, r'%s/(?:wiki1-a|wiki1-b|wiki1-c).*$' % base),
	(wiki2, r'%s/(?:wiki2-a|wiki2-b|wiki2-c).*$' % base),
	...
	(wiki100, r'%s/(?:wiki100-a|wiki100-b|wiki100-c).*$' % base),
]

This should let you have up to 100 wikis (Python 100 groups re limit) 
with many access points to any wiki.

Best Regards,

Nir Soffer





More information about the Moin-user mailing list