more verbosity during start up

This commit is contained in:
Jordi Sanfeliu 2014-06-30 18:29:38 +02:00
parent c499c43650
commit d0ea512752
1 changed files with 5 additions and 0 deletions

View File

@ -146,6 +146,11 @@ sub httpd_setup {
if(! -r ($config->{httpd_builtin}->{auth}->{htpasswd} || "")) {
logger("$myself: '$config->{httpd_builtin}->{auth}->{htpasswd}' $!");
}
} else {
if(!grep {$_ eq $config->{httpd_builtin}->{host}}
("localhost", "127.0.0.1")) {
logger("WARNING: the built-in HTTP server has Authentication disabled.");
}
}
my $server = HTTPServer->new();