Check /var/log/httpd/error_log wile you try to load the page
[Mon Nov 29 11:43:29 2010] [warn] RSA server certificate CommonName (CN) `coova.local' does NOT match server name!?
[Mon Nov 29 11:43:30 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 29 11:43:30 2010] [notice] Digest: done
[Mon Nov 29 11:43:35 2010] [warn] RSA server certificate CommonName (CN) `coova.local' does NOT match server name!?
[Mon Nov 29 11:43:35 2010] [notice] Apache configured -- resuming normal operations
[Mon Nov 29 11:50:28 2010] [notice] caught SIGTERM, shutting down
[Mon Nov 29 11:51:58 2010] [warn] RSA server certificate CommonName (CN) `coova.local' does NOT match server name!?
[Mon Nov 29 11:51:58 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 29 11:51:58 2010] [notice] Digest: done
You've probably commented some lines which shouldn't.
hotspotlogin now looks like this. Nothing else is commented out.
# Login page need https
## if (!($ENV{HTTPS} =~ /^on$/)) {
## print "Content-type: text/html\n\n
## <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
## <html>
## <head>
## <title>$conf{domain}/title>
## <meta http-equiv=\"Cache-control\" content=\"no-cache\">
## <meta http-equiv=\"Pragma\" content=\"no-cache\">
## <link rel=\"stylesheet\" type=\"text/css\" href=\"/chilli/css/sme.css\" />
## </head>
## <body>
## <p> </p><p> </p>
## <h2>$lang{loginfailed}</H2><br>
## $lang{neddencrypted}</body></html>";
## exit(0);
## }
$loginpath = $ENV{'SCRIPT_NAME'};