using mod_auth_mysql and mod_auth together
Posted
by sirrobin
on Stack Overflow
See other posts from Stack Overflow
or by sirrobin
Published on 2010-04-21T04:58:59Z
Indexed on
2010/04/21
5:03 UTC
Read the original article
Hit count: 329
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
© Stack Overflow or respective owner