mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
590f56d564
page of swat to https:// if TLS is initialised OK
(This used to be commit 519bdcac96
)
17 lines
298 B
Plaintext
17 lines
298 B
Plaintext
<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>
|