Search code examples
php.htaccesswampwampserver.htpasswd

how to makeup username:password pair in .htpasswd file on wamp server installed on windows OS


I am using Windows 8.1 OS and I installed Wamp server ...i google and found that " it should very rarely be edited by hand. There is a special program on a *nix machine that is designed to manipulate the .htpasswd file on your behalf. "

so my question is how to Make-up username:password pair on my windows machine because I cant use that *nix on my window

my .htpasswd looks like

username:encryptedpassword
john:odn927jw3h!hcj

but to make-up encrypted password is never possible by hand so how to make password in text/plain format


Solution

  • There is a htpasswd.exe tool in the \wamp\bin\apache\apache2.4.9\bin directory.

    And here is the documentation