httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Redirection based on HTTP Host header
Date Fri, 20 Aug 2010 00:57:43 GMT
On Thu, Aug 19, 2010 at 5:02 PM, Frank Zappo <frank_zappo@hotmail.com> wrote:
> Thanks for responding, and apologies if I wasn't very clear.
> I have a server that is both RSA and ECC capable.  I want the
> server to accept HTTPS connections from both RSA and ECC clients
> on the same TCP port.  Presumably, the default port on the server
> will support only one of the algorithms (say, RSA), and thus need
> to detect the capabilities of the client so it can redirect to a different
> port if an ECC client connects.
>
> Any ideas as to how this would be best accomplished?  Or is this
> not how it works?

You mentioned before checking the Host: header.  If your two types of
clients connect to two different hostnames you can either use two IP
addresses or a pair of name-based vhosts with SNI (TLS Server Name
Indication).

You can't inspect this header, or any other, and use other modules to
respond because it would always be well after the handshake has
already occured.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message