hi folks,

i've installed mod_wsgi several times on several servers, but this is
the first time on CentOS, and i'm having problems. i've got a dummy
wsgi script in place:

import socket

def application(environ, start_response):
        status = '200 OK'
        output = 'Hello World!'
        response_headers = [('Content-type', 'text/plain'), ('Content-
Length', str(len(output)))]
        start_response(status, response_headers)
        return [output]


but i'm getting "Exception occurred processing WSGI script" errors,
but no further details. My apache error log just has:

[Thu Mar 18 23:46:17 2010] [error] [client x.x.x.x] mod_wsgi
(pid=3599): Target WSGI script '/path/to/my/file.wsgi' cannot be
loaded as Python module.
[Thu Mar 18 23:46:17 2010] [error] [client x.x.x.x] mod_wsgi
(pid=3599): Exception occurred processing WSGI script '/path/to/my/
file.wsgi'.

I'd really appreciate any help in debugging this.

thanks,

michael geary

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en.

Reply via email to