0

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>
Nicolas
  • 1,812
  • 3
  • 19
  • 43

0 Answers0