reassign 479350 apt thanks On Sun, May 04, 2008 at 02:55:59PM +0300, zeridon wrote: > Package: apt-get > Severity: wishlist > > apt-get does not support redirects if using the http method for data > transfer. > > This could be very usefull feature.
I understand that the reason this isn't supported is that it caused problems when mirrors were run on servers with the Apache mod_speling module enabled; users ended up getting redirected to the wrong package. Perhaps the right answer is to support only certain redirects; for example, apt could support redirects provided that the file name part of the URL remains the same, so for example a redirect from http://foo.example.org/debian/pool/main/b/base-files/base-files_4.0.1_i386.deb to http://bar.example.org/debian-mirror/pool/main/b/base-files/base-files_4.0.1_i386.deb would be allowed, but a redirect from the same URL to http://foo.example.org/debian/pool/main/b/base-files/base-files_4.0.2_i386.deb would not. > The reason for submission is that i am tasked with moving a mirror > (not official debian mirror, just a specialised one) to a new machine > and i want to do it with minimal impact on the userbase. The basic > idea was to setup another mirror on a different machine, temporary > redirect all requests and then mangle with the dns records to point > where they has to be. Of course, you can still do this with low impact by changing DNS records and running both mirrors in parallel until the TTL expires. It just has to not involve HTTP redirects at the moment, that's all. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

