File: version-4.4.14.rst

package info (click to toggle)
mod-wsgi 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,824 kB
  • sloc: ansic: 15,512; python: 3,697; makefile: 219; sh: 107
file content (49 lines) | stat: -rw-r--r-- 1,942 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
==============
Version 4.4.14
==============

Version 4.4.14 of mod_wsgi can be obtained from:

  https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.4.14

For details on the availability of Windows binaries see:

  https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32

Bugs Fixed
----------

1. The ``--compress-responses`` option of ``mod_wsgi-express`` was
failing when Apache 2.4 was used. This was because ``mod_filter`` module
is required when using Apache 2.4 and it wasn't being loaded.

2. On Python 3, the IO object wrapped by ``sys.stdout`` and ``sys.stderr``,
according to the Python documentation, must provide a ``fileno()`` method
even though no file descriptor exists corresponding to the Apache error
logs. The method should raise ``IOError`` if called to indicate not file
descriptor can be returned.

Previously, an attempt to use ``fileno()`` on ``sys.stdout`` and ``sys.stderr``
would raise an ``AttributeError`` instead due to there being no ``fileno()``
method.

3. Use compiler include flags from running of ``apr-config`` and
``apu-config`` when doing ``pip`` install of ``mod_wsgi-express``. This is
necessary as on MacOS X 10.11 El Capitan the include flags for APR returned
by ``apxs`` refer to the wrong location causing installation to fail.

New Features
------------

1. When proxying a URL path or a virtual host, now setting request
header for ``X-Forwarded-Port`` so back end knows correct port that
front end used.

2. When proxying a URL path, if the request came in over a secure HTTP
connection, now setting request header for ``X-Forwarded-Scheme`` so back
end knows that front end handled the request over a secure connection.
The value of the header will be ``https``.

3. When using ``mod_wsgi-express``, it is now possible to supply the
``--with-cgi`` option, with any files in the document root directory with
a '.cgi' extension then being processed as traditional CGI scripts.