in reply to Re: CGI::Application::Plugin::Authentication, switch from DBI to htpasswd
in thread CGI::Application::Plugin::Authentication, switch from DBI to htpasswd

Here is how it works:
$self->authen->config ( DRIVER => [ 'Authen::Simple::Passwd', path => '/srv/www/cgi-bin/WebApp4/.htpasswd', ], );
If passwords in htpasswd file are encrypted with md5, it decrypts it with md5, if it is with crypt() then it uses crypt() for decrypting. No options needed! To know that makes live easier.
  • Comment on Re^2: CGI::Application::Plugin::Authentication, switch from DBI to htpasswd
  • Download Code