copr-frontend: temporary fix for Bug 1582294 - yum-plugin-copr doesn't work

This commit is contained in:
clime 2018-06-11 15:07:50 +02:00
parent 223fa7a9cd
commit 8bea5c3bda

View file

@ -40,6 +40,10 @@
RewriteEngine on
RewriteRule ^/coprs/sgallagh/cockpit-preview/repo/(.*)/.*\.repo$ /coprs/g/cockpit/cockpit-preview/repo/$1/ [R=301]
RewriteRule ^/coprs/sgallagh/cockpit-preview/(.*)$ /coprs/g/cockpit/cockpit-preview/$1 [R=301]
# https://bugzilla.redhat.com/show_bug.cgi?id=1582294 - yum copr enable does not work
RewriteRule ^/coprs/([^/]*)/([^/]*)/repo/epel-(.*)-(.*)/(.*)$ /coprs/$1/$2/repo/epel-$3/$5 [PT]
RewriteRule ^/coprs/g/([^/]*)/([^/]*)/repo/epel-(.*)-(.*)/(.*)$ /coprs/g/$1/$2/repo/epel-$3/$5 [PT]
</VirtualHost>
<VirtualHost *:443>