On Mon, 10 May 2010, Mike McGrath wrote: > On Mon, 10 May 2010, Matt Domsch wrote: > >> EC2 clients with malformed yum URLs are hitting us a lot. Kill those >> requests at the proxy servers to keep them from hitting MM. >> >> diff --git a/modules/mirrormanager/templates/mirrormanager-mirrorlist.conf.erb b/modules/mirrormanager/templates/mirrormanager-mirrorlist.conf.erb >> index bd576ce..3b7fdcc 100644 >> --- a/modules/mirrormanager/templates/mirrormanager-mirrorlist.conf.erb >> +++ b/modules/mirrormanager/templates/mirrormanager-mirrorlist.conf.erb >> @@ -13,6 +13,9 @@ RequestHeader set CP-Location /mirrormanager >> Alias /releases.txt /srv/web/mirrors/releases.txt >> >> RewriteEngine On >> +# BEGIN hack for misconfigured Amazon EC2 clients >> +RewriteRule ^/mirrorlist?repo=epel-5&arch=\$basea\$ - [F] >> +# END hack >> RewriteRule ^/publiclist(.*) <%= proxyurl %>/publiclist/$1 [P,L] >> RewriteRule ^/mirrorlist(.*) <%= proxyurl %>/mirrorlist$1 [P,L] >> RewriteRule ^/metalink(.*) <%= proxyurl %>/metalink$1 [P,L] >> > > +1. Down with basea! > +1 All your basea are belong to us! -sv _______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure