From 6c28db0377d30c79fabd9d8f3076493ecd50a7b3 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Evrard <jean-philippe@evrard.me>
Date: Thu, 6 Feb 2020 12:31:48 +0100
Subject: [PATCH] Introduce ideas repo redirect

The goal is to have ideas located in governance.openstack.org/ideas.
This should do the trick.

Depends-On: https://review.opendev.org/#/c/706319/
Change-Id: I4f4ff5ade85b726048bf8e1df56052e45b5fef56
---
 .../roles/static/files/50-governance.openstack.org.conf   | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/playbooks/roles/static/files/50-governance.openstack.org.conf b/playbooks/roles/static/files/50-governance.openstack.org.conf
index 50767247d4..7c76f8b1b7 100755
--- a/playbooks/roles/static/files/50-governance.openstack.org.conf
+++ b/playbooks/roles/static/files/50-governance.openstack.org.conf
@@ -27,6 +27,7 @@ Define AFS_ROOT /afs/openstack.org/project/governance.openstack.org
 
   # Alias other folders
   Alias "/election/" "${AFS_ROOT}/election/"
+  Alias "/ideas/" "${AFS_ROOT}/ideas/"
   Alias "/sigs/" "${AFS_ROOT}/sigs/"
   Alias "/tc/" "${AFS_ROOT}/tc/"
   Alias "/uc/" "${AFS_ROOT}/uc/"
@@ -53,6 +54,13 @@ Define AFS_ROOT /afs/openstack.org/project/governance.openstack.org
     Require all granted
   </Directory>
 
+  <Directory ${AFS_ROOT}/ideas>
+    Options Indexes FollowSymLinks MultiViews
+    AllowOverrideList Redirect RedirectMatch
+    Satisfy Any
+    Require all granted
+  </Directory>
+
   <Directory ${AFS_ROOT}/sigs>
     Options Indexes FollowSymLinks MultiViews
     AllowOverrideList Redirect RedirectMatch