Skip to content

Commit ecdca02

Browse files
Merge branch 'release/4.5.11'
2 parents 64df7cf + d8b4195 commit ecdca02

File tree

14 files changed

+56
-41
lines changed

14 files changed

+56
-41
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ If you are using the Software Collections Library (SCL) packages with
8383
RHEL, CentOS or Fedora, you would need:
8484

8585
* httpd24
86+
* httpd24-httpd-devel
8687

8788
If you are running MacOS X, you will need to have the Xcode command line
8889
tools installed. These can be installed by running ``xcode-select --install``.

docs/configuration-directives/WSGIDaemonProcess.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ Options which can be supplied to the ``WSGIDaemonProcess`` directive are:
381381
and not simply cause the daemon process to become even more backlogged.
382382
When this occurs the user will recieve a 504 Gateway Time Out response.
383383

384-
**listen-backlog**
384+
**listen-backlog=nnn**
385385
Defines the depth of the daemon process socket listener queue. By
386386
default the limit is 100, although this is actually a hint, as
387387
different operating systems can have different limits on the maximum

docs/configuration-directives/WSGIPythonOptimize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This directive will have no affect if mod_python is being loaded into Apache
3737
at the same time as mod_wsgi as mod_python will in that case be responsible
3838
for initialising Python.
3939

40-
Overall, if you do not understand what the normal 'python' executable '-O'
40+
Overall, if you do not understand what the normal 'python' executable ``-O``
4141
option does, how the Python runtime changes it behaviour as a result, and
4242
you don't know exactly how your application would be affected by enabling
4343
this option, then do not use this option. In other words, stop trying to

docs/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
Installation
33
============
44

5-
The mod_wsgi package can be installed form source code or may also be
5+
The mod_wsgi package can be installed from source code or may also be
66
available as a pre built binary package as part of your Linux distribution.
77

88
Do be aware though that Linux distributions generally ship out of date
99
versions of mod_wsgi and for long term support (LTS) versions of Linux can
1010
be anything up to about 5 years old. Those older versions are not supported
11-
in any way even though part of a so called LTS version of Linux.
11+
in any way even though they are part of a so called LTS version of Linux.
1212

1313
If you want support and want to ensure you have the most up to date and
1414
bug free version of mod_wsgi, you should consider building and installing
15-
mod_wsgi from source code.
15+
mod_wsgi from the source code.
1616

17-
For instructions on how to compile mod_wsgi from source code for UNIX like
17+
For instructions on how to compile mod_wsgi from the source code for UNIX like
1818
operating systems such as Linux and MacOS X see:
1919

2020
* :doc:`user-guides/quick-installation-guide`

docs/release-notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Release Notes
55
.. toctree::
66
:maxdepth: 2
77

8+
release-notes/version-4.5.11
89
release-notes/version-4.5.10
910
release-notes/version-4.5.9
1011
release-notes/version-4.5.8
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
==============
2+
Version 4.5.11
3+
==============
4+
5+
Version 4.5.11 of mod_wsgi can be obtained from:
6+
7+
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.11
8+
9+
Bugs Fixed
10+
----------
11+
12+
* The ``runmodwsgi`` option when using Django application integration would
13+
fail on older Django versions up to Django 1.7.

docs/user-guides/application-issues.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ If Apache is started automatically as 'root' when a machine is first booted
338338
it would inherit the user 'HOME' environment variable setting of the 'root'
339339
user. If however, Apache is started by a non privileged user via the 'sudo'
340340
command, it would inherit the 'HOME' environment variable of the user who
341-
started it, unless the '-H' option had been supplied to 'sudo'. In the case
342-
of the '-H' option being supplied, the 'HOME' environment variable of the
341+
started it, unless the ``-H`` option had been supplied to 'sudo'. In the case
342+
of the ``-H`` option being supplied, the 'HOME' environment variable of the
343343
'root' user would again be used.
344344

345345
Because the value of the 'HOME' environment variable can vary based on how
@@ -736,7 +736,7 @@ module is not generally compiled and so the following error will occur::
736736
ImportError: No module named _md5
737737

738738
To resolve this problem it would be necessary to rebuild Apache and use the
739-
'--with-ssl' option to 'configure' to specify the location of the distinct
739+
``--with-ssl`` option to 'configure' to specify the location of the distinct
740740
SSL library that is being used by the Python modules.
741741

742742
Note that it has also been suggested that the !ImportError above can also
@@ -866,7 +866,7 @@ directive should be used and the group set to '%{GLOBAL}'::
866866
WSGIApplicationGroup %{GLOBAL}
867867

868868
Extension modules for which this is known to be necessary are any which
869-
have been developed using SWIG and for which the '-threads' option was
869+
have been developed using SWIG and for which the ``-threads`` option was
870870
supplied to 'swig' when the bindings were generated. One example of this is
871871
the 'dbxml' module, a Python wrapper for the Berkeley Database, previously
872872
developed by !SleepyCat Software, but now managed by Oracle. Another package
@@ -876,15 +876,15 @@ There is also a bit of a question mark over the Python Subversion bindings.
876876
This package also uses SWIG, however it is only some versions that appear
877877
to require that the very first sub interpreter created when Python is
878878
initialised be used. It is currently believed that this may be more to do
879-
with coding problems than with the '-threads' option being passed to the
879+
with coding problems than with the ``-threads`` option being passed to the
880880
'swig' command when the bindings were generated.
881881

882882
For all the affected packages, as described above it is believed though
883883
that they will work when application group is set to force the application
884884
to run in the first interpreter created by Python as described above.
885885

886886
Another option for packages which use SWIG generated bindings is not to use
887-
the '-threads' option when 'swig' is used to generate the bindings. This
887+
the ``-threads`` option when 'swig' is used to generate the bindings. This
888888
will avoid any problems and allow the package to be used in any sub
889889
interpreter. Do be aware though that by disabling thread support in SWIG
890890
bindings, that the GIL isn't released when C code is entered. The

docs/user-guides/checking-your-installation.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Apache Build Information
2525
Information related to what version of Apache is being used and how it is
2626
built is obtained in a number of ways. The primary means is from the
2727
Apache 'httpd' executable itself using command line options. The main such
28-
option is the '-V' option.
28+
option is the ``-V`` option.
2929

3030
On most systems the standard Apache executable supplied with the operating
3131
system is located at '/usr/sbin/httpd'. On MacOS X, for the operating system
@@ -101,7 +101,7 @@ On MacOS X, for the operating system supplied Apache this file is located at
101101
"$@"
102102

103103
Not only does this indicate what features of Apache have been compiled in,
104-
it also indicates by way of the '--enable-layout' option what custom Apache
104+
it also indicates by way of the ``--enable-layout`` option what custom Apache
105105
installation layout has been used.
106106

107107
Apache Modules Loaded
@@ -112,11 +112,11 @@ at run time based on Apache configuration files.
112112

113113
If modules have been statically compiled into Apache, usually it would be
114114
evident by what 'configure' arguments have been used when Apache was built.
115-
To verify what exactly what is compiled in statically, you can use the '-l'
115+
To verify what exactly what is compiled in statically, you can use the ``-l``
116116
option to the Apache executable.
117117

118118
On MacOS X, for the operating system supplied Apache the output from
119-
running '-l' option is::
119+
running ``-l`` option is::
120120

121121
$ /usr/sbin/httpd -l
122122
Compiled in modules:
@@ -130,10 +130,10 @@ This is actually the Apache module that handles the task of dynamically
130130
loading other Apache modules.
131131

132132
For a specific Apache configuration, you can determine what Apache modules
133-
will be loaded dynamically by using the '-M' option for the Apache executable.
133+
will be loaded dynamically by using the ``-M`` option for the Apache executable.
134134

135135
On MacOS X, for the operating system supplied Apache the output from
136-
running '-M' option, where the only additional module added is mod_wsgi,
136+
running ``-M`` option, where the only additional module added is mod_wsgi,
137137
is::
138138

139139
$ /usr/sbin/httpd -M
@@ -249,7 +249,7 @@ checks about what is the prefered mechanism for a particular operating
249249
system.
250250

251251
Which mechanism is used by default can be determined from the build
252-
information displayed by the '-V' option to the Apache executable described
252+
information displayed by the ``-V`` option to the Apache executable described
253253
previously. The particular entries of interest are those with 'SERIALIZE'
254254
in the name of the macro.
255255

@@ -321,7 +321,7 @@ and::
321321

322322
WSGIAcceptMutex xxx
323323

324-
For each run the '-t' option on the Apache program executable.
324+
For each run the ``-t`` option on the Apache program executable.
325325

326326
On MacOS X, with the operating system supplied APR library, this yields::
327327

@@ -443,7 +443,7 @@ was used and what MacOS X operating system version. In this case, if
443443
multiple installations of same version of Python in different locations,
444444
may find the system installation rather than your custom installation.
445445

446-
In that situation you may need to use the '--disable-framework' option to
446+
In that situation you may need to use the ``--disable-framework`` option to
447447
'configure' script for mod_wsgi. This doesn't actually disable use of the
448448
framework, but does change how it links to use a more traditional library
449449
style linking rather than framework linking. This seems to resolve the

docs/user-guides/debugging-techniques.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ interpreter created when Python is initialised.
747747
In this latter issue, the sub interpreter problems can often be solved by
748748
forcing the WSGI application using the Python Subversion modules to run in
749749
the '%{GLOBAL}' application group. This solution often also resolves issues
750-
with SWIG generated bindings, especially where the '-thread' option was
750+
with SWIG generated bindings, especially where the ``-thread`` option was
751751
supplied to 'swig' when the bindings were generated.
752752

753753
Whatever the reason, in some cases the only way to determine why Apache or

docs/user-guides/installation-issues.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To remedy the problem, install the developer package for Python
3838
corresponding to the Python runtime package you have installed. What the
3939
name of the developer package is can vary from one Linux distribution to
4040
another. Normally it has the same name as the Python runtime package with
41-
'-dev' appended to the package name. You will need to lookup up list of
41+
``-dev`` appended to the package name. You will need to lookup up list of
4242
available packages in your packaging system to determine actual name of
4343
package to install.
4444

@@ -90,7 +90,7 @@ this is not present then mod_wsgi is using a static Python library.
9090
Although mod_wsgi will still work when compiled against a version of Python
9191
which only provides a static library, you are highly encouraged to ensure
9292
that your Python installation has been configured and compiled with the
93-
'--enable-shared' option to enable the production and use of a shared
93+
``--enable-shared`` option to enable the production and use of a shared
9494
library for Python.
9595

9696
If rebuilding Python to generate a shared library, do make sure that the
@@ -143,7 +143,7 @@ Multiple Python Versions
143143
------------------------
144144

145145
Where there are multiple versions of Python installed on a system and it is
146-
necessary to ensure that a specific version is used, the '--with-python'
146+
necessary to ensure that a specific version is used, the ``--with-python``
147147
option can be supplied to 'configure' when installing mod_wsgi::
148148

149149
./configure --with-python=/usr/local/bin/python2.5
@@ -202,7 +202,7 @@ used, is located. This can be done using the WSGIPythonHome directive::
202202

203203
The value given to the WSGIPythonHome directive should be a normalised
204204
path corresponding to that defined by the Python {{{sys.prefix}}} variable
205-
for the version of Python being used and passed to the '--with-python'
205+
for the version of Python being used and passed to the ``--with-python``
206206
option when configuring mod_wsgi::
207207

208208
>>> import sys
@@ -258,12 +258,12 @@ The warning is indicating that a newer version of Python is now being
258258
used than what mod_wsgi was originally compiled for.
259259

260260
This would generally not be a problem provided that both versions of Python
261-
were originally installed with the '--enable-shared' option supplied to
261+
were originally installed with the ``--enable-shared`` option supplied to
262262
'configure'. If this option is used then the Python library will be linked
263263
in dynamically at runtime and so an upgrade to the Python version will be
264264
automatically used.
265265

266-
If '--enable-shared' was however not used and the Python library is
266+
If ``--enable-shared`` was however not used and the Python library is
267267
therefore embedded into the actual mod_wsgi Apache module, then there is a
268268
risk of undefined behaviour. This is because the version of the Python
269269
library embedded into the mod_wsgi Apache module will be older than the
@@ -304,7 +304,7 @@ bit static library in all cases.
304304

305305
If the first issue, the only solution to this problem is to recompile
306306
Python for the X86 64 bit architecture. When doing this, it is preferable,
307-
and may actually be necessary, to ensure that the '--enable-shared' option
307+
and may actually be necessary, to ensure that the ``--enable-shared`` option
308308
is provided to the 'configure' script for Python when it is being compiled
309309
and installed.
310310

@@ -406,9 +406,9 @@ The error encountered would be similar to::
406406
load /etc/httpd/modules/mod_wsgi.so into server: \
407407
/etc/httpd/modules/mod_wsgi.so: undefined symbol: forkpty
408408

409-
This problem can be fixed by adding '-lutil' to the list of libraries to
409+
This problem can be fixed by adding ``-lutil`` to the list of libraries to
410410
link mod_wsgi against when it is being built. This can be done by adding
411-
'-lutil' to the 'LDLIBS' variable in the mod_wsgi 'Makefile' after having
411+
``-lutil`` to the 'LDLIBS' variable in the mod_wsgi 'Makefile' after having
412412
run 'configure'.
413413

414414
An alternative method which may work is to edit the 'envvars' file, if it
@@ -440,7 +440,7 @@ are::
440440
apxs:Error: Command failed with rc=65536
441441

442442
To avoid this problem, when configuring mod_wsgi, it is necessary to use
443-
the "--with-apxs" option to designate that either "apxs2-worker" or
443+
the ``--with-apxs`` option to designate that either "apxs2-worker" or
444444
"apxs2-prefork" should be used. Thus::
445445

446446
./configure --with-apxs=/usr/sbin/apxs2-worker
@@ -468,9 +468,9 @@ configured for maintainer mode::
468468
qualifiers from pointer target type
469469

470470
Specifically, whoever built the version of Apache being used supplied the
471-
option '--enable-maintainer-mode' when configuring Apache prior to
471+
option ``--enable-maintainer-mode`` when configuring Apache prior to
472472
installation. You would be able to tell at the time of compiling mod_wsgi
473-
if this has been done as the option '-DAP_DEBUG' would be supplied to the
473+
if this has been done as the option ``-DAP_DEBUG`` would be supplied to the
474474
compiler when mod_wsgi source code is compiled.
475475

476476
These warnings can be ignored, but in general you shouldn't run Apache in

0 commit comments

Comments
 (0)