http servers: any method for getting the complete URL?

Brian Behlendorf <brian@wired.com>
Errors-To: listmaster@www0.cern.ch
Date: Mon, 16 May 1994 06:18:45 +0200
Errors-To: listmaster@www0.cern.ch
Message-id: <Pine.3.89.9405152153.K27217-0100000@tired.wired.com>
Errors-To: listmaster@www0.cern.ch
Reply-To: brian@wired.com
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: Brian Behlendorf <brian@wired.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: http servers: any method for getting the complete URL?
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mime-Version: 1.0
Mime-Version: 1.0

Is there any way for an http server to find out exactly what machine name
was in the URL used to access it?  I looked in the NCSA httpd code, and it
didn't look like it could get any info outside of the "GET / HTTP1.0"
information.  Basically, I'd like to set things up so that, for example,
http://jekyll.com/ and http://hyde.com/ return different root-level
indices, despite the fact that jekyll.com is a CNAME for hyde.com. (domain
names used for demonstration purposes only :)) Since that sort of DNS name
conversion takes place in the client, I'm not optimistic that it can get
this info, but I thought I'd ask. 

	Brian