Hi, I can't make WSGi work on daemon mode. It works perfectly well
with embed mode. I'm getting "Premature end of script headers:
test.wsgi" in the error log. I've read the FAQ and
ConfigurationIssues, and I think it's a sockets problem, but no idea
how to solve it.

I've tried "WSGISocketPrefix run/wsgi" and "WSGISocketPrefix /var/run/
wsgi" and the sockets are being created but when I "ls -al" I get the
following:

drwxr-xr-x 21 root    root    4096 Nov 23 18:05 ..
..
srwx------  1 apache  root       0 Nov 23 18:24 wsgi.12235.25.1.sock"

I've even tried "WSGISocketPrefix /tmp/wsgi"!!!!


My config:
CentOS
Linux mindpulse.net 2.6.9-023stab051.2-enterprise #1 SMP Thu Sep 24
23:38:21 MSD 2009 i686 i686 i386 GNU/Linux
Server version: Apache/2.2.3
mod_wsgi 3.0 (compiled from source)
running on mediatemple.net dv 3.5 (dedicated server)


<vhost>
WSGIDaemonProcess sesestudio user=sesestudio threads=10  display-name=%
{GROUP} python-path=/var/www/vhosts/sesestudio.com.ar/mindpulse/ses-
estudio/bootstrap/lib/python2.4/site-packages
WSGIProcessGroup sesestudio
WSGIScriptAlias /ses /var/www/vhosts/sesestudio.com.ar/mindpulse/
test.wsgi


<test.wsgi>
def application(environ, start_response):
    start_response('200 OK', [('content-Type', 'text/html')])
    return ['Hello World']


When I comment WSGIDaemonProcess and WSGIProcessGroup it works
flawlessly. What can I do to fix this?? Thanks in advance,
    Iván

--

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