Apache Basic Auth with multiple AuthUserFiles?
I am working on a project where users can subscribe to either full site access or access to a certain file selection for a lower price. I am wondering how to change the following .htaccess entry:<Files 6.wmv>
AuthType Basic
AuthName "Bright Video Number 6"
AuthUserFile "/home/bright/accounts/subscribe-oneweek/passwd-6"
AuthUserFile "/home/bright/accounts/passwd"
require valid-user
</Files>
So that access will be given if the user supplies credentials matching an entry in either one or the other of the passwd files. As it is now a second AuthUserFile entry will only override the first and Apache will only look for the credentials in the file defined second, instead of checking both passwd files.
Btw, this is a site for educational videos, not a porn site.