blob: 373bd9f74e7d88af1c68474cb7c6230d1598b0a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<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>
|