#!/usr/bin/perl
-# $Id: login.cgi,v 1.9 2006/06/27 04:37:45 rmurray Exp $
+# $Id: login.cgi,v 1.10 2006/12/22 08:58:50 rmurray Exp $
# (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
+# (c) 2006 Ryan Murray. Licensed under the GPL. <rmurray@debian.org>
use lib '.';
use strict;
my $proto = ($ENV{HTTPS} ? "https" : "http");
if ($proto eq "http" || !($query->param('username')) || !($query->param('password'))) {
- print "Location: https://$ENV{SERVER_NAME}/$config{webloginurl}\n\n";
+ print "Location: https://$ENV{SERVER_NAME}/$config{webloginhtml}\n\n";
exit;
}