Public bug reported: OS: Ubuntu 1604 Apache2: 2.4.18-2ubuntu
Using DBD authentication using a Postgresql database for specific files seems impossible. The following configuration entries seems only to be allowed in global area (VirtualHost element) of a host definition. Putting it in a <Directory> element causes Apache not to start up: DBDriver pgsql DBDParams "host=127.0.0.1 port=5432 dbname=userdb user=www password=www" DBDMin 2 DBDKeep 4 DBDMax 10 DBDExptime 300 The AuthDBDUserPWQuery parameter is not allowed in VirtualHost element. It causes "AuthDBDUserPWQuery not allowed here" on apache startup. Putting it in a <Directory> element is allowed, but if I then try to activate this authentication via a .htaccess file, It produces "AH01654: No AuthDBDUserPWQuery has been specified" in error log. I AuthDBDUserPWQuery is defined in either the global section or in a <FilesMatch> element causes ".htaccess: AuthDBDUserPWQuery not allowed here" in error log. Adding any of DB... parameters listed earlier in .htaccess also does not work. So it seems there is no way to configure DBD authentication. ** Affects: apache2 (Ubuntu) Importance: Undecided Status: New ** Tags: apache2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1698806 Title: Apache dbd auth configuration error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1698806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs