[Moin-user] howto config for two wikis?

Thilo Pfennig email at pfennigsolutions.de
Sun Dec 17 12:14:16 EST 2006


Marcus Goldfish schrieb:
>
>    ScriptAlias /wiki1 "/usr/share/moin/wiki1/moin.cgi"
>    ScriptAlias /wiki2 "/usr/share/moin/wiki2/moin.cgi"2. Should
> wiki1.py, wiki2.py, and my modified farmconfig.py all be located in
> /usr/share/moin/config/wikifarm ?
> 2. Should wiki1.py, wiki2.py, and my modified farmconfig.py all be
> located in /usr/share/moin/config/wikifarm ? 


That's usually wrong. You will only need one CGI because the CGI only
sets up ypur Python environment and has  a setting of wer your configs
are. So this is not anything that is specific to one wiki. And also you
have to be careful that this links to a CGI dir where you tell your
Apache that it may execute the CGIs. Otherwise that wont work.

>    alias /wiki "/usr/share/moin/htdocs"
Ok.


>
> 3. Does this excerpt look ok for farmconfig.py?
>
>    ("wiki1", r".{3,30}/wiki1.*$"),
>    ("wiki2", r".{3,30}/wiki2.*$"),
not sure what {3,30} should do, but I am not a RegExpert ;-).

But I think you are much closer to your goal, now.

Thilo


-- 
Thilo Pfennig
PfennigSolutions - Wiki-Systeme
http://www.pfennigsolutions.de/





More information about the Moin-user mailing list