From 69aa7513b0b81773ff79f9bf182ba73d4378a2c4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 22 Jan 2016 02:23:41 +0000 Subject: [PATCH] Also match api_2 Signed-off-by: Patrick Uiterwijk --- roles/httpd/redirect/templates/redirect.copr.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/httpd/redirect/templates/redirect.copr.conf b/roles/httpd/redirect/templates/redirect.copr.conf index fbb1b96fa6..bf485617c4 100644 --- a/roles/httpd/redirect/templates/redirect.copr.conf +++ b/roles/httpd/redirect/templates/redirect.copr.conf @@ -1,3 +1,4 @@ RewriteEngine on RewriteCond %{REQUEST_URI} !^/api/* +RewriteCond %{REQUEST_URI} !^/api_2/* RewriteRule ^/(.*) https://copr.fedorainfracloud.org/$1 [L,R]