Search code examples
apachewamp.htpasswd

to makeup username:password pair in .htpasswd file


I have wamp server installed on windows OS my .htpasswd looks like

username:encryptedpassword
john:gugyjfy6786hgfhfh

but the problem is to make-up encrypted password is never possible by hand so can i create it in text/plain format


Solution

  • step 1- go to encrypted password generator

    step 2-copy that generated encrypted password from website

    step 3-create .htpasswd file in root folder under your domain

    step 4-write here your username:encypted password pair

    /*for eg- john:paste your encrypted password here (after colon) john:djfj223dv98vufhhy */