How to change WebDAV password locally

14,096

Passwords are stored in webdav.htpasswd file.

If you open it, you will see an entry like this

wampp:XAMPP with WebDAV:bc7f2b670e7e965e307feb30492e642e

That's the entry for user wampp: in realm XAMPP with WebDAV: with password which is encrypted.

To change password, you should use htdigest.exe.

See manual. It is used to create and update user authentication files. You should find in the bin directory of xampp installation.

To do that, do :

htdigest.exe "pathto/webdav.htpasswd" "XAMPP with WebDAV" yourusername

This will be returned: Adding user yourusername in realm "XAMPP with WebDAV"

You will then be asked for the password for yourusername

New password: yourpassword

Re-type new password: yourpassword

Reference: http://www.apachefriends.org/f/viewtopic.php?f=16&t=38897

Share:
14,096
Rob
Author by

Rob

Wannabe programmer

Updated on June 29, 2022

Comments

  • Rob
    Rob almost 2 years

    I can't figure out how to change the webdav password. I've done some searching, found many resources of how to add a new user to webdav, but nothing about changing password. Anyone know?

  • thejh
    thejh over 13 years
    Rob said: "Trying to change the password of the default user (xampp) on my local machine"
  • Wolfpack'08
    Wolfpack'08 over 12 years
    How do you remove the default password? I just deleted it from the .htpasswd file. Afraid it will have a wicked backlash.
  • KcFnMi
    KcFnMi almost 7 years
    What about Linux installation of webdav (superuser.com/questions/1222679/…) ?