.htpasswd and .htaccess generator: .htpasswd example



The .htpasswd file is an ASCII file. Each line contains a username and its corresponding encrypted password separated by a colon.

john.smith:$apr1$ei5.....$NnRlDsltqi0BB4g8QS.ru/
jane.doe:$apr1$qS5.....$2zcLtxs1z36r2x5JEoMsm1


For security reasons always place the .htpasswd file outside your docroot.