From 1da84f5a4287f1687f767aff68dd4723d71c68f7 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Fri, 22 Feb 2019 10:26:25 +1100 Subject: [PATCH] Add Redirect options to static https vhosts The current static-https-redirect.vhost config doesn't allow publishing a .htaccess file in order to setup redirects. We do use redirects on sites that share data over both http and https. This change enables the same options for static https sites. The motivation is to allow release.o.o to use .htacces to provide static, human friendly URLs for constraints that persist after branch deletion in the openstack/requirements Repo. See: http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002682.html Note: in that discussion I tested with RewriteRule but Redirect work and that is what I'm proposing. Change-Id: I4d3abd46eb15d5e116c832e7393ec1ec4cb6866b --- .../openstack_project/templates/static-https-redirect.vhost.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openstack_project/templates/static-https-redirect.vhost.erb b/modules/openstack_project/templates/static-https-redirect.vhost.erb index 3ae6dd1147..839d044757 100644 --- a/modules/openstack_project/templates/static-https-redirect.vhost.erb +++ b/modules/openstack_project/templates/static-https-redirect.vhost.erb @@ -36,6 +36,7 @@ > Options Indexes FollowSymLinks MultiViews AllowOverride None + AllowOverrideList Redirect RedirectMatch Satisfy Any Require all granted