This is a new setup of web2py using mod_wsgi on a shared host.  Any
idea what is wrong?

.htaccess:
SetHandler wsgi-script
Options +ExecCGI
RewriteEngine On
RewriteRule ^((static|auth|admin|mycontroller).*)$ /wsgihandler.py/
myapp/$1 [QSA,PT,L]

Error logs:
[Wed Jan 19 17:52:06 2011] [error] [client 127.0.0.1]   File "/home/
user/gluon/utils.py", line 10, in ?
[Wed Jan 19 17:52:06 2011] [error] [client 127.0.0.1]   File "/home/
user/restricted.py", line 18, in ?
[Wed Jan 19 17:52:06 2011] [error] [client 127.0.0.1]   File "/home/
user/gluon/main.py", line 32, in ?
[Wed Jan 19 17:52:06 2011] [error] [client 127.0.0.1]   File "/home/
user/wsgihandler.py", line 27, in ?
[Wed Jan 19 17:52:06 2011] [error] [client 127.0.0.1] mod_wsgi
(pid=4975): Exception occurred processing WSGI script '/home/user/
wsgihandler.py'.
[Wed Jan 19 17:52:06 2011] [error] [client 127.0.0.1] mod_wsgi
(pid=4975): Target WSGI script '/home/user/wsgihandler.py' cannot be
loaded as Python module.

Reply via email to