On Mon, 2005-11-07 at 22:07 +0100, Adrian von Bidder wrote: > On Monday 07 November 2005 15.53, Ian Campbell wrote: > > On Mon, 2005-11-07 at 11:51 +1100, Brian May wrote: > > > However, I prefer the approach over apt-cacher, as the apt-sources > > > entries remain independent of the server that will be used to retrieve > > > the files. > > > > > > Is there a good alternative? > > > > I use apt-cacher and have mod_rewrite rewrite /debian/ > > to /apt-cacher/ftp.uk.debian.org, similarly for /debian-amd64/ > > and /debian-security/ etc. > > For those not fluent with mod_rewrite, would you mind posting the > configuration snippet? Sure. Include /etc/apt-cacher/apache.conf RewriteEngine on RewriteRule ^/debian-security/(.*) /apt-cacher/security.debian.org/$1 [PT] RewriteRule ^/debian-amd64/(.*) /apt-cacher/ftp.nl.debian.org/debian-amd64/debian/$1 [PT] RewriteRule ^/debian/(.*) /apt-cacher/ftp.uk.debian.org/debian/$1 [PT] Ian. -- Ian Campbell Health nuts are going to feel stupid someday, lying in hospitals dying of nothing. -- Redd Foxx
Attachment:
signature.asc
Description: This is a digitally signed message part