Hello,

I try to use modwsgihandler (web2py 1.56.2) on ubuntu 8.04
found one possible bug in it
sys.path.append should go before "import gluon"
as otherwise it complains about import not found..

then I get
Internal error
Ticket issued: unrecoverable

in error log I see, I have problems with access rights
first it complained not able to write
web2py/applications/admin/cron/cron.master
I experimentally changed permissions to 666
but then this might be needed for every app for sessions

what is the recommended secure setup
(maybe some rights as mod_wsgi user (www-data or so)
as I am quite raw in sys-admin

my config's are here
ftp://files.akl.lt/users/jurgis/etc/


[Tue Mar 03 12:48:51 2009] [error] WARNING:root:no cache.disk
[Tue Mar 03 12:48:51 2009] [error] ERROR:root:Traceback (most recent call last):
[Tue Mar 03 12:48:51 2009] [error]   File
"/home/www/web2py/gluon/main.py", line 335, in wsgibase
[Tue Mar 03 12:48:51 2009] [error]
session._try_store_on_disk(request, response)
[Tue Mar 03 12:48:51 2009] [error]   File
"/home/www/web2py/gluon/globals.py", line 319, in _try_store_on_disk
[Tue Mar 03 12:48:51 2009] [error]     response.session_file =
open(response.session_filename, 'wb'
[Tue Mar 03 12:48:51 2009] [error] IOError: [Errno 13] Permission
denied: 
'/home/www/web2py/applications/welcome/sessions/127-0-1-1-44c427e9-5d0f-4d80-93c9-18c076c3551c'
[Tue Mar 03 12:48:51 2009] [error]


Thanks in advance
-- 
Jurgis Pralgauskis
Don't worry, be happy and make things better ;)
http://sagemath.visiems.lt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to