1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<HTML> <TITLE> Samba4 ESP test </TITLE> <BODY> 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"); } %> </BODY> </HTML>