mod_auth_mysql plugin
This plugin will maintain table of active members for mod_auth_mysql
Apache module ( http://www.diegonet.com/support/mod_auth_mysql.shtml ).
INSTALLATION
1. Please create users table as described in the mod_auth_mysql manual.
CREATE TABLE user_info (
username CHAR(30) NOT NULL,
passwd CHAR(20) NOT NULL,
groups CHAR(10),
PRIMARY KEY (user)
);
2. Enable this plugin at aMember CP -> Setup -> Plugins
3. Go to aMember CP -> Setup -> mod_auth_mysql and configure this plugin.
In your .htaccess files you can use the following lines:
You may also want to add line like:
ErrorDocument 401 /401.htm
to show page http://www.yoursite.com/401.htm for unauthorized
customer and redirect them to signup page.