It works for me thank you :)

Le mercredi 21 janvier 2009 11:35:13 UTC+1, voltron a écrit :
>
> 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

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to