i2-Services, Inc. Forums

Full Version: mod_auth_mysql questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want authentication to be based on a MySQL database, not users/groups in files.

System: Mac OS X Server, Apache 2.2.6, MySQL 5.0.45-log, PHP 5

1. First of all, with Apache 2.2.6, mod_auth_mysql isn't even listed in the modules list in httpd.conf. Confusing, to say the least. I do see modules authn_dbm_module, authn_dbd_module and others.

2. I'm confused by the authentication vs authorization; if the user is authenticated against the database, what is making authorization happen eg access to certain areas? Does PHM-MM maintain a group list for that purpose?

3. How exactly does subscription expiration happen so that authorization is denied once the subscription is expired; is this done "live" during authorization or is there some kind of cron job that marks a subscription for a user as expired?
Reference URL's