Change request

Jeroen van Meeuwen kanarip at kanarip.com
Sun Feb 1 06:27:10 UTC 2009


Hey,

I'd like the following patch to be applied. It fixes the redirects for 
RPM-GPG-KEY files for secondary arches not to be redirected to 
/pub/fedora-secondary/, so that Jigdo's can find the files.

Kind regards,

Jeroen van Meeuwen
-kanarip

commit b240e804a23e4171d21de19f0de0ec4b34586654
Author: Jeroen van Meeuwen <kanarip at puppet1.fedora.phx.redhat.com>
Date:   Tue Dec 30 01:02:00 2008 +0000

     Fix the rewrite for secondary architectures.

       The rewrite caused GPG keys in primary architecture install trees
       matching the name of a secondary architecture to be rewritten to
       secondary-archs.

diff --git a/configs/web/download.fedoraproject.org/rewrite.conf 
b/configs/web/download.fedoraproject.org/rewrite.conf
index 63f2e45..adc7a3c 100644
--- a/configs/web/download.fedoraproject.org/rewrite.conf
+++ b/configs/web/download.fedoraproject.org/rewrite.conf
@@ -4,8 +4,8 @@ RequestHeader set CP-Location /mirrormanager

  RewriteEngine On

-RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*ia64.* [OR]
-RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*sparc.*
+RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*[/]+ia64.* [OR]
+RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*[/]+sparc.*
  RewriteRule ^/pub/fedora/linux/(.*) /pub/fedora-secondary/$1

  RewriteRule ^/(.+)$ 
balancer://mirrorsCluster//mirrorlist?path=$1&redirect=1 [P]




More information about the infrastructure mailing list