http servers: any method for getting the complete URL?

Brian Behlendorf <>
Date: Mon, 16 May 1994 06:18:45 +0200
Message-id: <>
Precedence: bulk
From: Brian Behlendorf <>
To: Multiple recipients of list <>
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, and return different root-level
indices, despite the fact that is a CNAME for (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.