Version 4.5.12¶
Version 4.5.12 of mod_wsgi can be obtained from:
Bugs Fixed¶
When the
pip installmethod is used to compile the module for Windows, themod_wsgi-express module-configcommand was generating the wrong DLL path forLoadFiledirective for Python 3.4, as well as possibly older Python versions.
New Features¶
When using
pip installon Windows, in addition to looking in the directoryC:\Apache24for an Apache installation, it will now also checkC:\Apache22andC:\Apache2. It is recommended though that you use Apache 2.4. If your Apache installation is elsewhere, you can still set theMOD_WSGI_APACHE_ROOTDIRenvironment variable to its location. The environment variable should be set in your shell before runningpip install mod_wsgiand should be set in a way that exports it to child processes run from the shell.Added
restart-intervaloption toWSGIDaemonProcessfor restarting daemon mode processes after a set time. Ifgraceful-timeoutoption is also specified, active requests will be given a chance to complete, while still accepting new requests. If within the grace period the process becomes idle, a shutdown will occur immediately. In the case of no grace period being specified, or the grace period expiring, the normal shutdown sequence will occur. The option is also available inmod_wsgi-expressas--restart-interval.