Apache AuthBasicProvider : how to specify password format?

674 views Asked by At

I am using the 'mod_auth_basic' and 'mod_authn_dbd' apache modules to authenticate users.

How can I specify the password format I want mod_auth_basic to use? I don't find this in the documentation.

(Available formats can be found there: https://httpd.apache.org/docs/2.4/misc/password_encryptions.html)

Here is a sample of my configuration:

<Directory "/usr/www/fake>
  AuthType Basic
  AuthName "Fake"
  AuthBasicProvider dbd

  AuthDBDUserPWQuery "SELECT password FROM authn WHERE user = %s"
</Directory>
0

There are 0 answers