[mirror-admin] Help with Redirect ISOs

Mogens Kjaer mk at crc.dk
Fri Jul 25 06:08:47 EDT 2008


Carlos Carvalho wrote:
> Sergio J Rojas H (srojas at ifc.unam.mx) wrote on 24 July 2008 17:29:
>  >Im asking for some help ...
>  >
>  >I followed the instructions on 
>  >http://fedoraproject.org/wiki/Infrastructure/Mirroring to redirect ISO 
>  >files requested by HTTP (GET) to my FTP server, buy it doesn't work anyway.
> 
> Then don't redirect at all, it's not necessary.

But very useful.

Last week I had a "downloader" that requested a Fedora DVD iso
2.0e+6 times over several days. His script didn't recognize the
redirect, so there was no download taking place at all.

It really stopped a lot of these "downloads" after I added the
redirect. I have just these three lines:

RewriteEngine On
RewriteCond     %{REQUEST_METHOD} GET
RewriteRule     ^(.*\.iso)$ ftp://ftp.crc.dk/pub/mirrors/$1  [L,R=301]

Maybe the "RewriteEngine On" needs to be before the first
rewrite rule in Sergio's case?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk

--


More information about the Mirror-admin mailing list