server redirects by client domain

I was just wondering whether there are any HTTP servers out there
which let the server admin configure redirects based on the
client's domain name.  This seems like a neat way to make browsers
automatically use "nearby" mirror sites, without having to go
round tweaking all the clients.  Obviously it would only be useful
if you take the trouble to figure out the client's domain name

e.g. to re-direct accesses to everything at http://www.apache.org/
to an appropriate mirror site, you would want to put something like
this in your server config

  RedirectDomain / http://Bond.edu.au/External/Misc/apache/ .au .nz
    .jp .kr .cn
  RedirectDomain / http://iuinfo.tuwien.ac.at/apache/ .at .de .dk
  RedirectDomain / http://sunsite.mff.cuni.cz/web/apache/ .cz
  RedirectDomain / http://sunsite.icm.edu.pl/pub/www/apache/ .pl
  RedirectDomain / http://sunsite.doc.ic.ac.uk/packages/apache/ .uk
    .fr .be

(etc...!)

If nobody else is working on this sort of thing, I might have a
stab at hacking this into the NCSA and Apache servers

Cheerio,

Martin

Received on Thursday, 14 December 1995 09:28:50 UTC