From 548cb681bfced5dd032e641a4c2b41bc8c7eee40 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Jan 2017 19:42:16 +0100 Subject: [PATCH] [www] Enable config-reference for icehouse and juno For EOL'ed juno and newer distros keep the Config-reference and redirect everything else. Change-Id: I02acb6acf246fb45e78fabafaa5b13e28030e98b --- www/static/.htaccess | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/static/.htaccess b/www/static/.htaccess index f5a77818e5..000aaa29f5 100644 --- a/www/static/.htaccess +++ b/www/static/.htaccess @@ -6,8 +6,11 @@ redirectmatch 301 /essex/.*$ /index.html redirectmatch 301 /folsom/.*$ /index.html redirectmatch 301 /grizzly/.*$ /index.html redirectmatch 301 /havana/.*$ /index.html -redirectmatch 301 /icehouse/.*$ /index.html -redirectmatch 301 /juno/.*$ /index.html + +# We still have the config-reference available +redirectmatch 301 /icehouse/(?!config-reference)/.*$ /index.html +redirectmatch 301 /juno/(?!config-reference)/.*$ /index.html +redirectmatch 301 /kilo/(?!config-reference)/.*$ /index.html # Redirect for the original version of compute redirectmatch 301 /openstack-compute/.*$ /index.html