using mod_auth_mysql and mod_auth together
- by sirrobin
is it possible to use a database and a flatfile to authenticate a user for a directory. for example, if the requested user is not found in the database, apache should check the flatfile via mod_auth for the user.
this is my current .htaccess files
AuthMYSQLEnable On
AuthName "Restricted"
AuthType Basic
AuthGroupFile /dev/null
AuthMySQLHost localhost
AuthMySQLDB members
AuthMySQLUser admin
AuthMySQLPassword admin123
AuthMySQLUserTable members
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLPwEncryption md5
require valid-user