This seems to be a question that comes up regularly. The htaccess specification allows only one named htpasswd file. The reason for this is simplicity, as soon as you allow two or more htpassword files, you'd have people wanting different ways of using them. Such as allowing access if the user name is one or the other htpasswd file (OR), in both files (AND) or in one but not the other (XOR).
Since this is a fact (outside of a few exotic, unofficial modules that have been written that claim to get around this limitation), you need to find a solution that basically accomplishes the same.
If it's simply a matter of having two groupings of users; where one has access to one section, the other group to another and both groups have access to a third; then simply have your registration program enter the UserName:Password combination to the appropriate htpasswd file as well as to the third, for-everyone, password file. Any other solutions are based on that, using the registration script to include the access combinations in the appropriate files.
__________________
<CENTER><A HREF="http://www.hot-off-bourbon.com/" target="_blank"><IMG SRC="http://www.hot-off-bourbon.com/images/hob-logosmall.jpg" border="0"></A>
<FONT face="Comic Sans MS" SIZE="-1"><I>Mardi Gras, Spring Break, Wet-T, Night Club Action, UpSkirt, Oil Wrestling, Voyeur</I></FONT></CENTER>
|