Hi all, I've been hacking away with mod_rewrite + perl and found a way to make a geo-aware URL that will redirect based on the clients IP address... So I've put it in place for testing. I'd like to see this in place as the default pacman mirror in the future to reduce bandwidth on the main server.
If you have 2 minutes, could you please test this url: http://geo-repo.archserver.org And check that it redirects you to the correct location. Given our small list of mirrors at the moment, I've only added redirects for the countries in the table below. Everyone else should default to the main server ( repo.archserver.org). You *should* be able to use this as your pacman mirror, however it is still only 'beta' so no promises ;-) Please file a bug report on the bug tracker for any issues you find. I'm especially interested to here from anyone who can test from Denmark, Finland, Norway or Sweden if the redirect to FTP works as expected. Cheers, ~p cc | country_name | mirror_url ----+--------------------------------------+--------------------------------------------- AU | AUSTRALIA | http://repo.fukawi2.nl/archserver AT | AUSTRIA | http://mirror.selfnet.de/archserver BE | BELGIUM | http://mirror.selfnet.de/archserver BA | BOSNIA AND HERZEGOVINA | http://mirror.selfnet.de/archserver BR | BRAZIL | http://archserver.cptl.org BG | BULGARIA | http://mirror.selfnet.de/archserver CA | CANADA | http://mirror.twilightlair.net/arch-server/ HR | CROATIA | http://mirror.selfnet.de/archserver CU | CUBA | http://mirror.shadowbranch.com/archserver/ CZ | CZECH REPUBLIC | http://mirror.selfnet.de/archserver DK | DENMARK | ftp://www.gishten.com/archserver FI | FINLAND | ftp://www.gishten.com/archserver FR | FRANCE | http://mirror.selfnet.de/archserver DE | GERMANY | http://mirror.selfnet.de/archserver HU | HUNGARY | http://mirror.selfnet.de/archserver IE | IRELAND | http://repo.archserver.org IT | ITALY | http://mirror.selfnet.de/archserver LU | LUXEMBOURG | http://mirror.selfnet.de/archserver MX | MEXICO | http://mirror.shadowbranch.com/archserver/ NL | NETHERLANDS | http://repo.archserver.org NZ | NEW ZEALAND | http://repo.fukawi2.nl/archserver NO | NORWAY | ftp://www.gishten.com/archserver PL | POLAND | http://mirror.selfnet.de/archserver PT | PORTUGAL | http://mirror.selfnet.de/archserver MD | REPUBLIC OF MOLDOVA | http://mirror.selfnet.de/archserver RO | ROMANIA | http://mirror.selfnet.de/archserver CS | SERBIA AND MONTENEGRO | http://mirror.selfnet.de/archserver SK | SLOVAKIA | http://mirror.selfnet.de/archserver SI | SLOVENIA | http://mirror.selfnet.de/archserver ES | SPAIN | http://mirror.selfnet.de/archserver SE | SWEDEN | ftp://www.gishten.com/archserver CH | SWITZERLAND | http://mirror.selfnet.de/archserver UA | UKRAINE | http://mirror.selfnet.de/archserver GB | UNITED KINGDOM | http://repo.archserver.org UK | UNITED KINGDOM | http://repo.archserver.org US | UNITED STATES | http://mirror.shadowbranch.com/archserver/ UM | UNITED STATES MINOR OUTLYING ISLANDS | http://mirror.shadowbranch.com/archserver/
_______________________________________________ ArchServer Project General Mail List Post messages to: [email protected] Administer your subscription: http://lists.archserver.org/listinfo/general

