Inets and multiple domains on port 80

Peter Lund peter@REDACTED
Thu Mar 4 15:40:23 CET 2004

What is the best way of having 2 different domain names
pointing to the same port 80 on one and the same machine
and then having different things presented depending on
the requested URL?

When running erlang-scripts you could check the Env for
the http_host value and do different things.

But how do I get different DocumentRoot's depending on
the domain name that was asked for? Is there any way to
do this with inets?


More information about the erlang-questions mailing list