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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---