Package: libapache2-mod-wsgi
Version: 4.2.7-1
Severity: important

Since upgrading to mod-wsgi 4.2, even a simple WSGI script will cause an
Internal Server Error when the python-path and home arguments to
WSGIDaemonProcess are used in conjunction with WSGIProcessGroup.

Consider the following script:

    def application(env, sr):
        sr("200 OK", [])
        return "XXX"

and the following WSGI configuration

    WSGIDaemonProcess foo home=/tmp python-path=/tmp
    WSGIProcessGroup foo

This will cause an Internal Server Error with the following log entry:

    [Wed Aug 13 19:28:05.889392 2014] [wsgi:error] [pid 25594] [client 
127.0.0.1:36384] Truncated or oversized response headers received from daemon 
process 'foo': /tmp/test.wsgi

Removing either the WSGIDaemonProcess, the python-path, or the home directive
will fix it.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapache2-mod-wsgi depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.10-1
ii  libc6                               2.19-7
ii  libpython2.7                        2.7.8-4
ii  python                              2.7.8-1

libapache2-mod-wsgi recommends no packages.

libapache2-mod-wsgi suggests no packages.

-- no debconf information

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to