If it is the md5 problem, then it is very easy to test whether it is this, by commenting out PHP loading in Apache. If that confirms that it is caused by PHP being present, then modify the PHP configuration so that mhash module is not loaded by PHP, reenable PHP and try again.
This solution has been known for some time in mod_python circles and is also documented in mod_wsgi documentation explicitly. See: http://code.google.com/p/modwsgi/wiki/ApplicationIssues Totally forgot this as a possibility when posting previous suggestions. :-( Graham On May 28, 5:21 pm, "Cezary Statkiewicz" <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm new to pylons. Started out a couple of days ago. Comming from > > django, I am attempting to move to pylons for my current project, and > > everything went smoothly until i got to the point of installing pylons > > on apache2 +mod_python. > > > I followed the instructions on this page: > >http://docs.pythonweb.org/display/pylonscookbook/Production+deploymen... > > > Everything seemed to work fine, but my sessions just dosent seem to > > get saved when running from apache. > > > It works fine when i do the paster serve command. > > > Any ideas? > > probably it's the same problem as in django +mod_python(or any > python code using md5 > undermod_python):http://code.djangoproject.com/wiki/ModPython > > You should modify beaker.api and change md5 import to sha and change > length of slices in SignedCookie.value_decode from 32 to 40. > > Best regards, > > CS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
