mod_auth_mysql query to multiple database
Good day again.
Can mod_auth_mysql authenticate using 2 databases and satisfy any result? I made an htaccess file and added two mysql auth. But it seems that on the last one is working and the first in the list is ignored. How can I make is so that it authenticates to two databases? Here's part of my htaccess: order deny,allow deny from all AuthGroupFile /dev/null AuthName "Members Area" AuthType Basic AuthMySQLHost 202.91.162.52 AuthMySQLDB db1 AuthMySQLUser loewen AuthMySQLPassword loewen AuthMySQLUserTable members AuthMySQLNameField uname AuthMySQLPasswordField pword AuthMySQLPwEncryption none #AuthMySQLUserCondition "status=1" AuthMySQLKeepAlive Off AuthMySQLAuthoritative Off AuthName "Members Area" AuthType Basic AuthMySQLHost 202.91.162.51 AuthMySQLDB db2 AuthMySQLUser name1 AuthMySQLPassword pass AuthMySQLUserTable members_auth AuthMySQLNameField username AuthMySQLPasswordField password AuthMySQLPwEncryption none #AuthMySQLUserCondition "status=1" AuthMySQLKeepAlive Off AuthMySQLAuthoritative On require valid-user satisfy any <Files .htaccess> order allow,deny |
Is this actually possible? It seems that auth mysql bypasses the first db and just looks up the second.
|
Anyone who can point me in the right direction? Perhaps my htaccess sntax is wrong.
|
All times are GMT -5. The time now is 04:39 PM. |