Protecting 2 domains on one server
Let's say I have two different domains:
www.abc.com
www.xyz.com
They both contain different data, and I'd like to run them both off of the same web server. I can do this easily by looking at the HOST: header in the HTTP headers on an incoming request. Depending on what it says, I'll know which server the request is destined for and return the proper information.
What happens if I try to SSL enable this server? Obviously, I need 2 different SSL certificates, and let's say I have these. However, when a request comes in I need to decide which certificate to use and return during the handshake. But no HTTP headers are available at this point (and I'm too far down in the stack to even see them).
Is there any way to do this?
Sander Smith

