I click my site on several servers on which I have different usernames. I want to have a .htaccess file that password protects the file no matter which server I am on.
The problem is that AuthUserFile only accepts absolute paths, so if I have:
AuthUserFile /home/will/.htpasswd
I get a server error in the field where my username is wjholcomb (and the home directory is / home / wjholcomb /).
source share