Page 1 of 1

Lost Passwords

PostPosted: 28. December 2010 14:19
by TimothyPaul
Good Morning, I am new to Xampp and Apache, converting from IIS.

I reset all the passwords fir my Xampp install, but can't remember them now. Any file I can look into to recover them.

Thanks...TP

Re: Lost Passwords

PostPosted: 29. December 2010 04:33
by Sharley
TimothyPaul wrote:I reset all the passwords fir my Xampp install, but can't remember them now. Any file I can look into to recover them.
No as passwords are encrypted.

Simply delete the C:\xampp\htdocs\.htaccess file in a default installation.
Also in C:\xampp\security\htdocs\.htaccess
Next delete the C:\xampp\security\xampp.users file.

Depending on your XAMPP version the file name xampp.users may be different but if you open in your text editor (drag and drop works) the .htaccess file that is in the htdocs folder it will give the correct name of the xampp.users file.
AuthName "xampp user"
AuthType Basic
AuthUserFile "C:\xampp\security\xampp.users"
require valid-user

Best wishes.

Re: Lost Passwords

PostPosted: 29. December 2010 18:46
by JonB
actaully if you use the XAMPP security Page to set the passwords, there's a feature to create a 'cleartext' password reminder file in the secure folder.

Good Luck
:roll: