[Moin-user] Wiki Farm on the intranet
Rux Li
rux.li3 at gmail.com
Mon Apr 17 23:21:01 EDT 2006
You should configure your web server to rewrite the url.
For example, I have the following settings on my Apache:
{{{
Alias */wiki/* "*/usr/local/share/moin/htdocs/*"
ScriptAliasMatch ^*/wikifarm/*.+?(/.*) "/wiki-root/cgi-bin/moin.cgi$1"
}}}
and my farmconfig.py is:
{{{
wikis = [
("wikiconfig0", r"^.+?/wikifarm/WIKI0.*$"),
("wikiconfig1", r"^.+?/wikifarm/WIKI1.*$"),
("wikiconfig2", r"^.+?/wikifarm/WIKI2.*$"),
]
}}}
Now I can access my wikis via:
* http://example.com/wikifarm/WIKI0/ <http://example.com/wikis/WIKI0/>...
* http://example.com/wikifarm/WIKI1/ <http://example.com/wikis/WIKI1/>...
* http://example.com/wikifarm/WIKI2/ <http://example.com/wikis/WIKI1/>...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20060417/6197f104/attachment.html>
More information about the Moin-user
mailing list