From 5390bbf23f3369b38d8846ac3348cd1b3068a1f3 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 25 Feb 2020 21:11:57 +0000 Subject: [PATCH] Correct openstackid tarball URL redirection The source pattern for the tarballs.openstack.org openstackid redirect incorrectly included an openstack parent directory. Remove it, an also make the regex more properly differentiate lack of a trailing "/" character from a directory name containing openstackid as a substring (not that there is one, but this serves as a safer template for future additions). Change-Id: I705d849d1c10cf91391181aeef72a9f4b495d520 --- playbooks/roles/static/files/50-tarballs.openstack.org.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/static/files/50-tarballs.openstack.org.conf b/playbooks/roles/static/files/50-tarballs.openstack.org.conf index 83cca2f04a..c65f893220 100755 --- a/playbooks/roles/static/files/50-tarballs.openstack.org.conf +++ b/playbooks/roles/static/files/50-tarballs.openstack.org.conf @@ -24,7 +24,7 @@ SSLHonorCipherOrder on RewriteEngine On - RewriteRule ^/openstack/(openstackid/?.*)$ https://tarballs.opendev.org/osf/$1 [L] + RewriteRule ^/(openstackid(/.*|$)) https://tarballs.opendev.org/osf/$1 [L] RewriteRule ^/?(.*)$ https://tarballs.opendev.org/openstack/$1 [L] LogLevel warn