Say I have 3 subscriptions: - 1st has to protect folder /demo1 - 2nd has to protect folder /demo1 + /demo2 - 3rd has to protect folder /demo2 + /demo3 How do you put this in the add product and how is .htaccess and .htgroup updated accordingly ? Thanks Pat
It is good question. You create 3 products from aMember CP : Product1 : URL = /demo1/ Product2 : URL = /demo2/ Product3 : URL = /demo3/ You must add links to files: to file /demo2/index.html -> add link to /demo1/ to file /demo3/index.html -> add link to /demo2/ Then, you add(edit) the following lines to .htaccess files: to file /demo1/.htaccess -> Require group PRODUCT_1 PRODUCT_2 to file /demo2/.htaccess -> Require group PRODUCT_2 PRODUCT_3 to file /demo3/.htaccess -> Require group PRODUCT_3 .htpasswd file contains list of all active members (having completed and not-expired subscriptions) and their passwords. .htgroup file contains list in the following form: PRODUCT_1: login1 login2 login3 PRODUCT_2: login2 login5 login8 PRODUCT_3: login4 login1 login11 it contains a separate line for every product, followed by list of usernames which have active subscription to the product.