--- hotspotlogin.cgi.original Thu Oct 26 20:47:43 2006 +++ hotspotlogin.cgi Thu Oct 26 20:45:55 2006 @@ -49,7 +49,8 @@ # If she did not use https tell her that it was wrong. -if (!($ENV{HTTPS} =~ /^on$/)) { +#if (!($ENV{HTTPS} =~ /^on$/)) { +if (!($ENV{SERVER_PORT} =~ /^443$/)) { print "Content-type: text/html\n\n