According to https://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html:
You have global DBD options, and then you have to use further Auth* options inside <Directory> elements. The dbd module is used by other mod_auth_* modules such as mod_auth_basic.
Check out https://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html#example and see if that helps.
It shows, for example, all DBD.* options inside the "global" area, and the rest, including AuthDBDUserPWQuery, inside <Directory>. In fact, that's the only place it can be used according to https://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html#authdbduserpwquery
Hope this helps. If you still have issues, please update this bug with an actual configuration snippet that fails.
According to https:/ /httpd. apache. org/docs/ 2.4/mod/ mod_authn_ dbd.html:
You have global DBD options, and then you have to use further Auth* options inside <Directory> elements. The dbd module is used by other mod_auth_* modules such as mod_auth_basic.
Check out https:/ /httpd. apache. org/docs/ 2.4/mod/ mod_authn_ dbd.html# example and see if that helps.
It shows, for example, all DBD.* options inside the "global" area, and the rest, including AuthDBDUserPWQuery, inside <Directory>. In fact, that's the only place it can be used according to https:/ /httpd. apache. org/docs/ 2.4/mod/ mod_authn_ dbd.html# authdbduserpwqu ery
Hope this helps. If you still have issues, please update this bug with an actual configuration snippet that fails.