Forum Moderators: phranque
If httpd was built against APR version 1.3.0 or higher, then whenever a query is made to the database server, all column values in the first row returned by the query are placed in the environment, using environment variables with the prefix "AUTHENTICATE_".
If a database query for example returned the username, full name and telephone number of a user, a CGI program will have access to this information without the need to make a second independent database query to gather this additional information.
This has the potential to dramatically simplify the coding and configuration required in some web applications.
AuthDBDUserRealmQuery "SELECT md5hash, lname FROM users \I am expecting to find an environment variable of the form AUTHENICATE_LNAME or AUTHENTICATE_lname (the documentation is unclear on this point), I find neither and in fact find no environment variable of the form AUTHENICATE_ anything.
WHERE lower(\"UserName\") = %s AND realm = %s"