Does anyone have any experience using IP address aliasing.
Here is what we need to do:
We have a customer who wants to register their own domain name.
Their single machine name will be our www server (www.btg.com).
We want to be able to use this one machine as the www server
for ourselves and this customer. Additionally, we want the URL
http://www.btg.com/ and
http://other.company/ to be a different
page. I know that we could run a second www server on a
different port number (
http://other.company:8123/), but that's
kind of ugly. Right now we are stuck with
http://other.company/dir.
The problem with this is that if someone omits the "dir" than they
will get our home page. And this would not be politacally correct
for the contract. So... my real question is...
Can a server process tell what IP address a client used to get to it?
If the answer is yes, then I can write a toplevel wrapper that will
direct http requests to the different pages...
TIA.
Craig
===============================================================================
Craig Knudsen cknudsen_at_btg.com
http://www.btg.com/~cknudsen/
BTG, Inc.
http://www.btg.com/
===============================================================================
Received on Fri Feb 24 1995 - 08:54:15 NZDT