rgeissert / http-redirector

Debian mirrors HTTP redirector
http://httpredir.debian.org/
89 stars 8 forks source link

restrict to only certain domains (e.g. *.debian.org) #64

Open vagrantc opened 9 years ago

vagrantc commented 9 years ago

It would be nice if there were some way to request only official debian mirrors such as ftp.de.debian.org, ftp.us.debian.org, *.debian.org. This would allow httpredir.debian.org to work with squid-deb-proxy, which restricts which locations can be mirrored to .debian.org machines by default.

Maybe URLs such as "http://httpredir.debian.org/debian.org/debian" would be a viable way to request only mirrors with "debian.org" subdomains.

Additional background on compatibility with squid-deb-proxy:

https://bugs.debian.org/724229

oxypwn commented 8 years ago

I vote for this as there are mirrors that are not maintained very well, breaking the whole thing httpredir tries to resolve. To me its more about having reliable mirrors.

dpgeekzero commented 8 years ago

Please! Some of the sites httpredir sends me to are blocked by my company's IT (with good reasons)