I have a collection of MoinMoin wikis, running a way-old version, so I
want to update them to 1.9.0.  At the same time, since it seems to be
the way of the future, I'm shifting from mod_python to WSGI.

My first attempt was to configure them using FarmConfig, but rather than
have them set up as

wiki1.example.com
wiki2.example.com
wiki3.example.com

they're configured as

example.com/wiki1/FrontPage
example.com/wiki2/FrontPage
example.com/wiki3/FrontPage

so FarmConfig didn't work, since it doesn't seem to preserve the 'wiki1'
prefix to the page URLs.

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

into the Apache config, with the appropriate data_dir configured in each
copy of moin.wsgi.  That seems to work for viewing pages anonymously,
but when I log in, it sticks for exactly one page view, then I'm logged
back out again.

I found this page:

http://moinmo.in/MoinMoinBugs/1.9WikiFarmSessionDirHandlingBroken

but applying that fix didn't seem to make a difference.

Can anyone shed some light on this issue?  My fallback plan is to go
ahead and configure wiki1.example.com, etc, and then proxy from
example.com/wiki1, but that seems awfully convoluted...

Thank you!

-- 
Mark Bradford, NCAR/EOL/CDS/CTM
<m...@ucar.edu>  (303) 497-8169

------------------------------------------------------------------------------
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

Reply via email to