From ca77a587da9ec393bceda87c2ec8dda096e2890d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 22 May 2015 15:25:11 -0500 Subject: demand https and other kewl stuff --- cgi-bin/login | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cgi-bin/login') 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); -- cgit v1.2.3-70-g09d2