mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
21 lines
439 B
Plaintext
21 lines
439 B
Plaintext
<HTML>
|
|
<TITLE>
|
|
Samba4 ESP test
|
|
</TITLE>
|
|
<BODY>
|
|
redirecting you to the test pages ...
|
|
<%
|
|
if (server['SERVER_PROTOCOL'] == "http" &&
|
|
server['TLS_SUPPORT'] == "True") {
|
|
if (headers['HOST']) {
|
|
redirect("https://" + headers['HOST'] + request['REQUEST_URI']);
|
|
} else {
|
|
redirect("https://" + server['SERVER_NAME'] + ":" + server['SERVER_PORT'] + request['REQUEST_URI']);
|
|
}
|
|
} else {
|
|
redirect("esptest/index.esp");
|
|
}
|
|
%>
|
|
</BODY>
|
|
</HTML>
|