redirecting you to the test pages ... <% if (server['SERVER_PROTOCOL'] == "http" && server['TLS_SUPPORT'] == "True") { redirect("https://" + headers['HOST'] + request['REQUEST_URI']); } else { redirect("esptest/index.esp"); } %>