htaccess and multiple htpasswd
snippet in htaccess

htaccess and multiple htpasswd

user8601

<Files "leiden.html">
 AuthName "Name and Password"
 AuthUserFile /var/www/fullpath to/.htpasswd
 Require user aaa
 AuthType Basic
</Files>

<Files "alkmaar.html">
 AuthName "Name and Password"
 AuthUserFile /var/www/fullpath to/.htpasswd
 Require user bbb
 AuthType Basic
</Files>

<Files "vlaardingen.html">
 AuthName "Name and Password"
 AuthUserFile /var/www/fullpath to/.htpasswd
 Require user ccc
 AuthType Basic
</Files>