I tried to make it work on local hosting based on this (before I already failed with some other guides): http://www.web2pyslices.com/main/slices/take_slice/68 Earlier I verified, I can run simple python script, I got result to the browser.
Now I prepared environment as you cam see here: ----------- ../local/bin/python -v # installing zipimport hook import zipimport # builtin # installed zipimport hook # /hosting/example.com/web2py/../local/lib/python2.5/site.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/site.py import site # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/site.pyc # /hosting/example.com/web2py/../local/lib/python2.5/os.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/os.py import os # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/os.pyc import errno # builtin import posix # builtin # /hosting/example.com/web2py/../local/lib/python2.5/posixpath.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/posixpath.py import posixpath # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/posixpath.pyc # /hosting/example.com/web2py/../local/lib/python2.5/stat.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/stat.py import stat # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/stat.pyc # /hosting/example.com/web2py/../local/lib/python2.5/UserDict.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/UserDict.py import UserDict # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/UserDict.pyc # /hosting/example.com/web2py/../local/lib/python2.5/copy_reg.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/copy_reg.py import copy_reg # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/copy_reg.pyc # /hosting/example.com/web2py/../local/lib/python2.5/types.pyc matches /hosting/example.com/web2py/../local/lib/python2.5/types.py import types # precompiled from /hosting/example.com/web2py/../local/lib/python2.5/types.pyc import _types # builtin # zipimport: found 78 names in /hosting/example.com/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg # zipimport: found 37 names in /hosting/example.com/local/lib/python2.5/site-packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg # zipimport: found 48 names in /hosting/example.com/local/lib/python2.5/site-packages/flup-1.0.3.dev_20100221-py2.5.egg # zipimport: found 11 names in /hosting/example.com/local/lib/python2.5/site-packages/hashlib-20081119-py2.5-linux-i686.egg # zipimport: found 7 names in /hosting/example.com/local/lib/python2.5/site-packages/uuid-1.30-py2.5.egg # /usr/lib/python2.5/warnings.pyc matches /usr/lib/python2.5/warnings.py import warnings # precompiled from /usr/lib/python2.5/warnings.pyc # /usr/lib/python2.5/linecache.pyc matches /usr/lib/python2.5/linecache.py import linecache # precompiled from /usr/lib/python2.5/linecache.pyc import encodings # directory /hosting/example.com/local/lib/python2.5/encodings # /hosting/example.com/local/lib/python2.5/encodings/__init__.pyc matches /hosting/example.com/local/lib/python2.5/encodings/__init__.py import encodings # precompiled from /hosting/example.com/local/lib/python2.5/encodings/__init__.pyc # /hosting/example.com/local/lib/python2.5/codecs.pyc matches /hosting/example.com/local/lib/python2.5/codecs.py import codecs # precompiled from /hosting/example.com/local/lib/python2.5/codecs.pyc import _codecs # builtin # /hosting/example.com/local/lib/python2.5/encodings/aliases.pyc matches /hosting/example.com/local/lib/python2.5/encodings/aliases.py import encodings.aliases # precompiled from /hosting/example.com/local/lib/python2.5/encodings/aliases.pyc # /hosting/example.com/local/lib/python2.5/encodings/latin_1.pyc matches /hosting/example.com/local/lib/python2.5/encodings/latin_1.py import encodings.latin_1 # precompiled from /hosting/example.com/local/lib/python2.5/encodings/latin_1.pyc Python 2.5.2 (r252:60911, Mar 1 2008, 13:52:45) [GCC 4.2.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. dlopen("/hosting/example.com/local/lib/python2.5/lib-dynload/readline.so", 2); import readline # dynamically loaded from /hosting/example.com/local/lib/python2.5/lib-dynload/readline.so ----------- web2py is on the server in /web2py directory when running ./web2py.py ----------- web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2010 Version 1.78.3 (2010-05-17 21:59:39) Database drivers available: Starting hardcron... WARNING:root:GUI not available because Tk library is not installed choose a password: please visit: http://127.0.0.1:8000 use "kill -SIGTERM 31467" to shutdown the web2py server ----------- No database drivers available. Why? MySQL_python has been installed. When running ./web2py.fcgi > ----------- > WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! > WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! > WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! > WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! > Status: 303 SEE OTHER > Content-Type: text/html; charset=UTF-8 > Location: /web2py/welcome/default/index > Content-Length: 73 > > You are being redirected <a href="/web2py/welcome/default/index">here</a> > ----------- routes is working as path starts with /web2py but in browser requesting www.my_domain.com/web2py ----------- Not Found The requested URL /web2py.fcgi/ was not found on this server. ----------- ls -l web2py.fcgi -rwx--x--x 1 examplecom hosting 226 2010-05-25 14:31 web2py.fcgi* I would be thankful for any hints on this issue. Julius