Hi Massimo! thanks for your help. Sadly, that did not work either , another idea?
Thanks On Jan 21, 11:31 am, mdipierro <[email protected]> wrote: > try edit wsgihandler.py and replace this line > > path=os.path.dirname(os.path.abspath(__file__)) > > with > > path='/bla/bla/bla' > > where > > '/bla/bla/bla' should be the absolute path to your web2py folder '/.../ > web2py/' > > and make sure you have the folder gluon in there. > > Massimo > > On Jan 21, 4:09 am, voltron <[email protected]> wrote: > > > I cannot get my site to work using WSGI, this is the error I see in > > the Apache configs: > > > [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] mod_wsgi > > (pid=31101): Target WSGI script '/projects/test_site/wsgihandler.py' > > cannot be loaded as Python module. > > [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] mod_wsgi > > (pid=31101): Exception occurred processing WSGI script '/projects/ > > test_site/wsgihandler.py'. > > [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] Traceback > > (most recent call last): > > [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] File "/ > > projects/test_site/wsgihandler.py", line 19, in <module> > > [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] import > > gluon.main > > [Wed Jan 21 10:57:11 2009] [error] [client 195.145.60.19] ImportError: > > No module named gluon.main > > > I tried to easy_install web2py, that did not work(easy install fails), > > I also tried placing the Web2py source in the "usr/lib/python2.5" > > folder, that did not help either > > > Does anyone have any idea what I have missed? > > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

