#2731 web: set WSGIProcessGroup inside Directory
Merged a year ago by tkopecek. Opened a year ago by tkopecek.
tkopecek/koji issue2695  into  master

file modified
+1 -1
@@ -5,11 +5,11 @@ 

  # Python 3 Cheetah expectes unicode everywhere, apache's default lang is C

  # which is not sufficient to open our templates

  WSGIDaemonProcess koji lang=C.UTF-8

- WSGIProcessGroup koji

  

  <Directory "/usr/share/koji-web/scripts/">

      Options ExecCGI

      SetHandler wsgi-script

+     WSGIProcessGroup koji

      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

Don't alter server-wide configuration, just kojiweb.

Fixes: https://pagure.io/koji/issue/2695

Metadata Update from @tkopecek:
- Pull-request tagged with: doc, no_qe

a year ago

btw, according to https://modwsgi.readthedocs.io/en/master/configuration-directives/WSGIDaemonProcess.html

WSGIDaemonProcess could only be in server config, virtual host

I think WSGIDaemonProcess could be left in virtual host scope

rebased onto 072cb31

a year ago

Commit 13db845 fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago
Metadata