mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-28 09:06:44 -06:00
Ensure that Apache is running with MPM=Prefork
Script wsgi.py checks if Apache is compiled with MPM=Prefork and if not, it refuses to run. https://fedorahosted.org/freeipa/ticket/252
This commit is contained in:
parent
b67df045be
commit
61e2016ee3
@ -22,4 +22,8 @@ else:
|
|||||||
api.log.info('*** PROCESS START ***')
|
api.log.info('*** PROCESS START ***')
|
||||||
|
|
||||||
# This is the WSGI callable:
|
# This is the WSGI callable:
|
||||||
application = api.Backend.session
|
def application(environ, start_response):
|
||||||
|
if not environ['wsgi.multithread']:
|
||||||
|
return api.Backend.session(environ, start_response)
|
||||||
|
else:
|
||||||
|
api.log.error("IPA does not work with the threaded MPM, use the pre-fork MPM")
|
||||||
|
Loading…
Reference in New Issue
Block a user