summaryrefslogtreecommitdiff
path: root/cgi-bin/login
diff options
context:
space:
mode:
authorJules Laplace <carbon@melanarchy.org>2015-05-22 15:25:11 -0500
committerJules Laplace <carbon@melanarchy.org>2015-05-22 15:25:11 -0500
commitca77a587da9ec393bceda87c2ec8dda096e2890d (patch)
treee15f868d5d06c91e56e348ec8bf26c9f9ea5071f /cgi-bin/login
parent2f4aebe8139faff0e6456676fd83bf5c0e4e3c4d (diff)
demand https and other kewl stuff
Diffstat (limited to 'cgi-bin/login')
-rwxr-xr-xcgi-bin/login10
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi-bin/login b/cgi-bin/login
index 86fc4b1..0335549 100755
--- a/cgi-bin/login
+++ b/cgi-bin/login
@@ -12,11 +12,11 @@ if (-e "/var/www/vhosts/carbonpictures.com/bucky/lock")
exit(0);
}
-#if (! exists $ENV{'HTTPS'} || $ENV{'HTTPS'} ne "on")
-# {
-# print "Location: https://www.carbonpictures.com/cgi-bin/bucky/index\n\n";
-# exit;
-# }
+if (! exists $ENV{'HTTPS'} || $ENV{'HTTPS'} ne "on")
+ {
+ print "Location: https://www.carbonpictures.com/cgi-bin/bucky/index\n\n";
+ exit;
+ }
use localbucky;
$dbh = DBI->connect ($dsn);