Forum Moderators: phranque
/staff/a/index.php
/staff/b/index.php
Then you could have two separate .htaccess files (one in the "a" directory and one in the "b" directory). And you could also simply provide the URLs to users as:
http://www.example.com/files/a/
and
http://www.example.com/files/b/
That may not be possible for some specific reason in yoru case, but perhaps it would simplify your situation with regard to the .htaccess files.
Although, there probably is some way to use a single .htaccess file to "protect" two files being in the same directory but with different login credentials for each file. I just don't know how to do that (sorry).