Encourage people to use the secure server.

This commit is contained in:
terry%netscape.com 1998-09-04 19:23:40 +00:00
Родитель f27dcf5d4c
Коммит 91883c2c42
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -50,6 +50,13 @@ print start_html(-Title=>"Despot -- configure mozilla users$extra",
if (!param()) {
print h1("Despot -- access control for mozilla.org.");
if ($ENV{"HTTPS"} ne "ON") {
my $fixedurl = $ENV{"SERVER_URL"} . $ENV{"SCRIPT_NAME"};
$fixedurl =~ s/^http:/https:/;
print b("<font color=red>If possible, please use the secure version " .
"of this form, by " . a({href=>$fixedurl}, "clicking here") .
".</font>");
}
print h2("Login, please.");
print img({-align=>"right",-width=>72,-height=>84,-src=>"handcuff.gif"});
print p("To manage mozilla users, or to change your mozilla.org " .