Am Mittwoch, den 23.12.2009, 15:28 -0700 schrieb Mark Bradford: > m...@heavy.ch wrote: > > > Am Mittwoch, den 23.12.2009, 12:12 -0700 schrieb Mark Bradford: > > >> My next attempt was to put > >> > >> WSGIScriptAlias /wiki1 /path/to/share/moin/server/moin_wiki1.wsgi > >> WSGIScriptAlias /wiki2 /path/to/share/moin/server/moin_wiki2.wsgi > >> WSGIScriptAlias /wiki3 /path/to/share/moin/server/moin_wiki3.wsgi > > > > only one is enough! If you do not want separate the wikis by hostname > > (like wiki1.example.com), but do seperate those with a directory name > > (like example.com/wiki), you can use WSGIScriptAliasMatch. See here some > > configuration hints: > > http://code.google.com/p/modwsgi/wiki/IntegrationWithMoinMoin > > Marcle, thanks for your reply! I spotted that "IntegrationWithMoinMoin" > page, actually, but it seems to be doing something very similar to what > I'm doing above -- it just looks like a single line because it's doing > regular expression matching. You still need a new something.wsgi script > for each wiki instance. > > I'll try grabbing the code from Mercurial, thank you! >
well, I running a farmwiki with different subdomains (like wiki1.example.com), and I have only one WSGIScriptAlias and one central moin.wsgi. the key is that you include the correct sys.path.insert to your farmconfig dir, in your wsgi file, like: sys.path.insert(0, '/var/www/moinmoin/config') bye Marcel ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user