diff options
author | Nathan Kinder <nkinder@redhat.com> | 2014-05-09 16:16:11 -0700 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-05-10 09:57:28 -0400 |
commit | 513aa5d4dbb72b73a9d60c89080868c43dedc358 (patch) | |
tree | fa39f3d1cd5b66072099026cb3bc41cf14725a51 /templates/install/idp.conf | |
parent | 493384f04be7f5615a2344ca896028837bfaa3a4 (diff) | |
download | ipsilon.git-513aa5d4dbb72b73a9d60c89080868c43dedc358.tar.gz ipsilon.git-513aa5d4dbb72b73a9d60c89080868c43dedc358.tar.xz ipsilon.git-513aa5d4dbb72b73a9d60c89080868c43dedc358.zip |
WSGI settings incorrectly makes instance global
The WSGIProcessGroup directive should only apply to the /idp URI.
Without wrapping this directive in the Location element, multiple
Ipsilon instances or an Ipsilon instance installed on a FreeIPA
server will conflict and encounter problems running in the same
httpd process. All wsgi processes will end up redirected to the
last process grup defined in the configuration in this case and
all other instances of wsgi applications will be unreachable.
Resolves: https://fedorahosted.org/ipsilon/ticket/1
Signed-off-by: Nathan Kinder <nkinder@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates/install/idp.conf')
-rw-r--r-- | templates/install/idp.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/install/idp.conf b/templates/install/idp.conf index ea4a769..eb5752e 100644 --- a/templates/install/idp.conf +++ b/templates/install/idp.conf @@ -1,7 +1,10 @@ Alias /${instance}/ui /usr/share/ipsilon/ui WSGIScriptAlias /${instance} /usr/sbin/ipsilon WSGIDaemonProcess ${instance} user=ipsilon group=ipsilon home=${datadir} -WSGIProcessGroup ${instance} + +<Location /idp> + WSGIProcessGroup ${instance} +</Location> <Directory /usr/sbin> Require all granted |