Web.py applications usually have an
"app" variable to represent the application. You can turn this into a wsgi-compatible application by calling
.wsgifunc() on it. So, in your wsgi file, you'll need something like this:
sys.path.append('/home/myusername/path-to/my-webdotpy-files') from myapp import app application = app.wsgifunc()
Other than that, be sure to check out our guide to Debugging import errors for general tips on dealing with problems in your wsgi config.