hub: remove reference to PythonOption

With mod_python we could use Apache's PythonOption directive. That
directive does not exist with mod_wsgi and we have to use SetEnv
instead.

Remove the PythonOption directive and describe how to use SetEnv.
This commit is contained in:
Ken Dreyer 2019-10-11 16:34:28 -06:00 committed by Tomas Kopecek
parent 9c3e39f7cb
commit d2a8c10efc

View file

@ -383,7 +383,10 @@ def load_config(environ):
"""Load configuration options
Options are read from a config file. The config file location is
controlled by the PythonOption ConfigFile in the httpd config.
controlled by the koji.hub.ConfigFile environment variable
in the httpd config. To override this (for example):
SetEnv koji.hub.ConfigFile /home/developer/koji/hub/hub.conf
Backwards compatibility:
- if ConfigFile is not set, opts are loaded from http config