lighttpd with fastcgi session count example don't work

205 views
Skip to first unread message

lars159

unread,
Jul 4, 2012, 5:39:28 PM7/4/12
to we...@googlegroups.com
I have copied the session count example and copied the lighttpd with fastcgi example but i don't get the session to work.

The code.py creates a new session for eache request and the session cookie get the path code.py/
if i run the embedded server i get the session cookie path / and then it works
How can i debug this error what could be wrong.

lars159

unread,
Jul 5, 2012, 4:34:13 PM7/5/12
to we...@googlegroups.com
The error seems to be that the session cookie get path /code.py/ because of the ligthttp redirect I tried force setting the session cookie path with web.session.conf but that did not work.

lars159

unread,
Jul 6, 2012, 3:20:09 PM7/6/12
to we...@googlegroups.com
Switch to apache mod_wsgi now it works.

Note:
if you get "does not contain WSGI application 'application'."
check that you have application = app.wsgifunc()


On Wednesday, July 4, 2012 11:39:28 PM UTC+2, lars159 wrote:
Reply all
Reply to author
Forward
0 new messages