W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1995

server redirects by client domain

From: Martin Hamilton <martin@mrrl.lut.ac.uk>
Date: Thu, 14 Dec 1995 14:28:20 +0000
Message-Id: <199512141428.OAA24413@gizmo.lut.ac.uk>
To: www-talk@w3.org
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


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


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:58 UTC