[Moin-user] How to install a wikifarm based on path instead of sub-domain?

Bear jilingshu at gmail.com
Wed Dec 21 07:34:45 EST 2011


hi,
Ahh, I am running my Moin wiki on Passenger instead of mod_wsgi for my 
hosting provider Dreamhost only support Passenger. :-(
http://wiki.dreamhost.com/Passenger_WSGI

On 100/12/21 下午 08:23, Krzysztof Stryjek wrote:
> Hello,
>
> On Tue, Dec 20, 2011 at 02:27:08PM +0800, Bear wrote:
>> hi there,
>> I am trying to install a MoinMoin wiki with wikifarm which may host many
>> wikis on a single MoinMoin instance. However, I have only one domain
>> available: http://wiki.example.org/, and I wanna host different wikis in
>> sub-directory such as
>> http://wiki.example.org/alpha
>> http://wiki.example.org/beta
>>
>> I configured my farmconfig.py like this:
>> [code]
>> wikis = [
>>       ("alpha", r"^http://wiki.example.org/alpha/.*$")
>> ]
>> [/code]
>> and I an able to access "http://wiki.example.org/alpha/". However, all
>> spacial pages are nonfunctional, they all point to, such as
>> "http://wiki.example.org/HelpContents" instead of
>> "http://wiki.example.org/alpha/HelpContents". How can I fix this?
>> Thanks in advanced.
>>
> And did you modified http server (apache) configuration?
>
>      ServerName wiki.example.org
>      RewriteEngine On
>      RewriteRule ^/alpha(.*)$ /path/to/moin/farmwiki/moin.cgi$1 [type=application/x-httpd-cgi,L]
>      RewriteRule ^/beta(.*)$ /path/to/moin/farmwiki/moin.cgi$1 [type=application/x-httpd-cgi,L]
>
> Greetings,




More information about the Moin-user mailing list