Also set WSGIApplicationGroup to %{GLOBAL} for the web

see:
- https://pagure.io/koji/issue/214
- https://pagure.io/koji/pull-request/197
This commit is contained in:
Mike McLean 2016-11-30 09:50:30 -05:00
parent f8d4680da0
commit a37db7ff51

View file

@ -5,6 +5,9 @@ Alias /koji "/usr/share/koji-web/scripts/wsgi_publisher.py"
<Directory "/usr/share/koji-web/scripts/">
Options ExecCGI
SetHandler wsgi-script
WSGIApplicationGroup %{GLOBAL}
# ^ works around an OpenSSL issue
# see: https://cryptography.io/en/latest/faq/#starting-cryptography-using-mod-wsgi-produces-an-internalerror-during-a-call-in-register-osrandom-engine
<IfVersion < 2.4>
Order allow,deny
Allow from all