Hi, I heard that the module Apache::AuthDBI is now managed by mod_perl.
I have found a bug on my system: - Ubuntu 14.04.4 LTS - Apache 2.4.7 (last version for my distribution) - mod_perl 2.0.8+httpd24-r1449661-6ubuntu2 - libapache-dbi-perl 1.12-1 The bug is the following: when trying to access a context on a directory protected by Apache::AuthDBI, I get an error "No authentication done but request not allowed without authentication for /rwm/rkm/wiki/index.html. Authentication not configured?" The error appear when I try to access / while it is internally resolved into index.php thanks to "DirectoryIndex" directive. If I try to access the /index.php page directly, there is no problem. Just below, a patch correcting this problem: --- AuthDBI.pm.old 2013-06-13 01:36:47.000000000 +0200 +++ AuthDBI.pm 2016-05-30 18:00:19.333179574 +0200 @@ -214,9 +214,6 @@ debug (1, "==========\n$prefix request type = >$type<"); } - return MP2 ? Apache2::Const::OK() : Apache::Constants::OK() - unless $r->is_initial_req; # only the first internal request - debug (2, "REQUEST:" . $r->as_string); # here the dialog pops up and asks you for username and password @@ -227,6 +224,9 @@ } return $res if $res; # e.g. HTTP_UNAUTHORIZED + return MP2 ? Apache2::Const::OK() : Apache::Constants::OK() + unless $r->is_initial_req; # only the first internal request + # get username my $user_sent = $r->user; debug(2, "$prefix user sent = >$user_sent<");