Can i redirect non-SNI capable web browsers to an alternative site?

YES, it's possible to redirect non-SNI capable browsers (Internet Explorer auf Windows XP). - Stack Overflow has an article on this topic:
http://stackoverflow.com/questions/5154596/is-sni-actually-used-and-supported-in-browsers
 

Code taken from this article:

var redirect='http://REPLACE_WITH_NON_SNI_URL';
var sni_https_timeout, sni_http_timeout;
var https_req = $.ajax({ url : 'https://SNI_TEST_DOMAIN.com/snitest.php', dataType : "jsonp",
}).done(function() { window.clearTimeout(sni_https_timeout); var request = $.ajax({ url: "index.php?ua=sni_check_done", type: "POST" });
})
sni_https_timeout = window.setTimeout(function() { var http_req = $.ajax({ url : 'http://SNI_TEST_DOMAIN/sni_healthcheck.php', dataType : "jsonp" }).done(function() { window.clearTimeout(sni_http_timeout); window.setTimeout(function() { window.location = redirect; }, 200); }); sni_http_timeout = window.setTimeout(function() { sni_http_fail(); }, 8000);
}, 8000);
function sni_http_fail() { var request = $.ajax({ url: "index.php?ua=sni_check_done", type: "POST" });
}


snitest.php / sni_healthcheck.php:

<?php
if (array_key_exists('callback', $_GET))
{ header( 'Content-type: application/javascript' ); echo "{$_GET['callback']}();\n";
}

Was this answer helpful?

 Print this Article

Also Read

Windows/IIS/MMC: What do to with "Error HRESULT: 0x80070520"?

In very rare cases this error might show up during installation on Windows Server. The cryptic...

An error has occured: [2011296] CSR is invalid

This error messgae is typically shown when the field "COMMON NAME" inside the CSR doesn't have a...

'Broken Certificate Chain' error message

The SSL certificate chain typically consists of:ROOT Certificate INTERMEDIATE Certificate...

ASN1 bad tag value met. 0x8009310b

Question: I get CertEnroll::Cx509Enrollment::p_InstallResponse: ASN1 bad tag value met....

Is my X.509 certificate (.CRT) matching my private key and CSR files ? - OpenSSL commands for checking ...

You can use openssl to verify, wheter private-key, .CSR and .CRT are matching together: root@my...

Powered by WHMCompleteSolution