Patrick wrote:do i need to add the "newuser" somewhere in a file or a database?
The "database" is the webdav.htpasswd file in the C:\xampp\security folder.
Open the webdav.htpasswd in your text editor and you should see something like this:
wampp:XAMPP with WebDAV:bc7f2b670e7e965e307feb30492e642eThat is the entry for user
wampp: in realm
XAMPP with WebDAV: with password
xampp which is encrypted.
This should be the only entry till you create a new user/pass.
You can if you wish delete the above entry before creating your newuser.
Make a Copy of the file before proceeding so if you wish to return to the wampp/xampp default you can.
Type in the command console opened in the
C:\xampp\apache\bin folder:
htdigest.exe "C:\xampp\security\webdav.htpasswd" "XAMPP with WebDAV" newuserHit enter.
This will be returned:
Adding user newuser in realm XAMPP with WebDAVYou will then be asked for the password for newuser, I enter here an example, replace with your own.
New password: nuserHit enter.
Re-type new password: nuserHit enter.
Now check again the opened webdav.htpasswd in your text editor and you should now see 2 entries after you refresh the file perhaps:
wampp:XAMPP with WebDAV:bc7f2b670e7e965e307feb30492e642e
newuser:XAMPP with WebDAV:13f37b7f4a7e7026b6ee1b89bc07dd89You can add as many users as you wish to this webdav.htpasswd file and to get rid of a user simply delete that user in the webdav.htaccess file.
Close the command console if finished creating new users.
Close the webdav.htaccess file in your text editor when finished - don't save it, just close your text editor.