You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework
Thanks Timothy for your help. I got it to work somewhat based on your
files and tutorial.
One thing though, I dad to modify the dispatch.fcgi file as in:
#!/usr/bin/env python2.5
import os
import sys
WEB2PY_PATH = os.path.normpath('/path to web2py/')
os.chdir(WEB2PY_PATH)
if not WEB2PY_PATH in sys.path:
sys.path.append(WEB2PY_PATH)
from gluon.main import wsgibase
import gluon.contrib.gateways.fcgi
from gluon.contrib.gateways.fcgi import WSGIServer
if __name__ == '__main__':
WSGIServer(wsgibase).run()
Is this of importance? Is it correct to import WSGIServer from "FCGI?"
I find this very strange. in your original dispatch fle, you just
import "WSGIServer" which my system could not find at all
Thanks
Timothy Farrell
unread,
Jan 21, 2009, 11:32:47 AM1/21/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
Yes, that's correct.
gluon.contrib.gateways.fcgi is an adapter. It looks like fcgi to apache but wsgi to web2py.