[arch-dev-public] Poor man's mirror redirector

Pierre Schmitz pierre at archlinux.de
Mon Jun 14 17:30:30 EDT 2010

Hi all,

I wrote a simply redirector script for fun*. It uses geoip to redirect you
to a random Arch mirror in your country; but only if that mirror has synced
within the last 24h. It is located at https://downloads.archlinux.de/ So
you can for example download an iso using this URL:
or simply redirect to a dir like https://downloads.archlinux.de/iso/

It's probably not that useful and don't even think about using that url in
pacman. It will redirect you to a random mirror on every request no matter
if that mirror is up or has this file. (also pacman doesn't seem to handle
https; but once could use the curl xfer command (wget has poor https
support too))

However, a possible usage might be to use this for simpler iso download.




Pierre Schmitz, https://users.archlinux.de/~pierre

More information about the arch-dev-public mailing list