Re: [Moin-user] Need help migrating to WSGI

2010-01-09 Thread Nico Zanferrari
Hi, I've filed the bug on http://moinmo.in/MoinMoinBugs/1.9AuthProblemWithNonRootWiki About the last questions: - the problem exists also on Firefox, and also from the server itself. - I cleaned up all the cookies on the client before any testing. I'll post my configuration on the bug page, tryi

Re: [Moin-user] Need help migrating to WSGI

2010-01-08 Thread R.Bauer
Please check if there are any old cookies stored for your wiki. if so please delete them and try again. Reimar -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-clas

Re: [Moin-user] Need help migrating to WSGI

2010-01-08 Thread R.Bauer
Nico Zanferrari schrieb: > Hello, > > I have exactly the same problem (authentication valid just for the > fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed > that in this case the session cookie is not wrote at all on the client > (tested with Chrome) - even with cookie_lifetim

Re: [Moin-user] Need help migrating to WSGI

2010-01-08 Thread Thomas Waldmann
Could you check please: a) whether moin sends a cookie to your browser in the login response? you need some tool like livehttpheaders for firefox or some network packet inspection tool. b) in case it does and the cookie vanishes then mysteriously: could you check whether your server time is corre

Re: [Moin-user] Need help migrating to WSGI

2010-01-08 Thread Thomas Waldmann
On Fri, 2010-01-08 at 12:28 +0100, Nico Zanferrari wrote: > I've found that the problem exist also on a single wiki, if it's not > mapped on the virtual root of the web server > > So, the same single wiki works fine if I have on apache2.conf : > > WSGIScriptAlias / /wiki/moin.wsgi > > but

Re: [Moin-user] Need help migrating to WSGI

2010-01-08 Thread Nico Zanferrari
I've found that the problem exist also on a single wiki, if it's not mapped on the virtual root of the web server So, the same single wiki works fine if I have on apache2.conf : WSGIScriptAlias / /wiki/moin.wsgi but doesn't cache login authorization for more than 1 page if I have : WSGISc

Re: [Moin-user] Need help migrating to WSGI

2010-01-07 Thread Nico Zanferrari
No, I've already tried the fix : from farmconfig import FarmConfig class Config(FarmConfig): ... from MoinMoin.web.session import FileSessionService session_service = FileSessionService() but it didn't work... >From my point of view, this problems is different. The authentication is not

Re: [Moin-user] Need help migrating to WSGI

2010-01-07 Thread Thomas Waldmann
> I have exactly the same problem (authentication valid just for the > fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed > that in this case the session cookie is not wrote at all on the client > (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter > in farmconfig

Re: [Moin-user] Need help migrating to WSGI

2010-01-07 Thread Nico Zanferrari
Hello, I have exactly the same problem (authentication valid just for the fist page, with a fresh 1.9 WSGI setup on Ubuntu 9.10). I've noticed that in this case the session cookie is not wrote at all on the client (tested with Chrome) - even with cookie_lifetime = (1, 12) parameter in farmconfig.p

Re: [Moin-user] Need help migrating to WSGI

2009-12-24 Thread Mark Bradford
On 12/24/09 11:54 AM, Rick Vanderveer wrote: > I can give you my farmconfig example, etc., but I won't be able to get > that to you until Monday (I'm out of town for the holidays), if you > can wait that long. That would be great, Rick, thank you! Happy holidays to you and yours! -- Mark B

Re: [Moin-user] Need help migrating to WSGI

2009-12-24 Thread Rick Vanderveer
Mark, I have my wiki farm configured identically to how you are describing yours. http://wiki.example.com/project1 http://wiki.example.com/project2 Etc. I can give you my farmconfig example, etc., but I won't be able to get that to you until Monday (I'm out of town for the holidays), if you

Re: [Moin-user] Need help migrating to WSGI

2009-12-24 Thread Mark Bradford
m...@heavy.ch wrote: > 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(

Re: [Moin-user] Need help migrating to WSGI

2009-12-23 Thread m...@heavy.ch
Hi Mark See some feedbacks directly in your mail... Am Mittwoch, den 23.12.2009, 12:12 -0700 schrieb Mark Bradford: > 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 configu

Re: [Moin-user] Need help migrating to WSGI

2009-12-23 Thread m...@heavy.ch
Am Mittwoch, den 23.12.2009, 15:36 -0700 schrieb Mark Bradford: > Mark Bradford wrote: > > > I'll try grabbing the code from Mercurial, thank you! > > ...Sadly, that doesn't seem to rectify the issue. > maybye login to irc and ask somebody there, maybe they can help you directly: http://moinmo.

Re: [Moin-user] Need help migrating to WSGI

2009-12-23 Thread m...@heavy.ch
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 /p

Re: [Moin-user] Need help migrating to WSGI

2009-12-23 Thread Mark Bradford
Mark Bradford wrote: > I'll try grabbing the code from Mercurial, thank you! ...Sadly, that doesn't seem to rectify the issue. -- Mark Bradford, NCAR/EOL/CDS/CTM (303) 497-8169 -- This SF.Net email is sponsored by th

Re: [Moin-user] Need help migrating to WSGI

2009-12-23 Thread 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/shar

[Moin-user] Need help migrating to WSGI

2009-12-23 Thread Mark Bradford
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 wi