From 1ec9350823895de3f8cb866619444a2ffa58ec7c Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 8 May 2020 14:20:02 +0100 Subject: [PATCH] Update permissions for apache >= 2.4 When running in apache 2.4(Debian 10), the following error was observed when acessing the openstack dasboard: AH01626: authorization result of Require all denied: denied. This change allow to use the correct wsgi file and apply the correct permissions based on Apache version Change-Id: I57cdc73b3c3e466e77f6ed2d21671acb8157df84 --- templates/openstack_dashboard.conf.j2 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/templates/openstack_dashboard.conf.j2 b/templates/openstack_dashboard.conf.j2 index 42b8f99d..ca20eeab 100644 --- a/templates/openstack_dashboard.conf.j2 +++ b/templates/openstack_dashboard.conf.j2 @@ -46,10 +46,14 @@ WSGIApplicationGroup %{GLOBAL} - + + Order allow,deny - allow from all + Allow from all + + = 2.4> Require all granted + @@ -57,9 +61,13 @@ Options -FollowSymlinks + AllowOverride None Order allow,deny - allow from all + Allow from all + + = 2.4> Require all granted +