From 3bae7d48c0bd283779c206152e6dcfa4c5883521 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Sun, 21 Jun 2015 09:56:17 -0500 Subject: [PATCH] Keystone also handle /identity and /identity_admin When configured to run under Apache Httpd, keystone will also handle requests on /identity (public) and /identity_admin (admin). Change-Id: I4e6eb0cad1603aa0e612d0adc5431565da93870e --- files/apache-keystone.template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/files/apache-keystone.template b/files/apache-keystone.template index 0b914e2b8f..6dd1ad9ea6 100644 --- a/files/apache-keystone.template +++ b/files/apache-keystone.template @@ -33,3 +33,23 @@ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D(us)" %SSLCERTFILE% %SSLKEYFILE% + +Alias /identity %PUBLICWSGI% + + SetHandler wsgi-script + Options +ExecCGI + + WSGIProcessGroup keystone-public + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On + + +Alias /identity_admin %ADMINWSGI% + + SetHandler wsgi-script + Options +ExecCGI + + WSGIProcessGroup keystone-admin + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On +