Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one user name, multiple passwords with .htaccess?

Status
Not open for further replies.

g8z

Programmer
Dec 18, 2001
12
US
I'm trying to set up my .htaccess authentication so that I have one user name, but multiple passwords associated with that user name. How would I do this using .htaccess? E.g. my .htpasswd file looks like:

user:Encrypted_Password_1
user:Encrypted_Password_2

etc.
I tried this, but the system matches just the first line, so Encrypted_Password_2 doesn't work.

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top