http servers: any method for getting the complete URL?
Brian Behlendorf (brian@wired.com)
Sun, 15 May 1994 21:13:13 +0000 (GMT)
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