Page 1 of 1

Webdav account setup

PostPosted: 02. January 2009 02:25
by bebopblues
I got webdav working but my login and password aren't working. I generated the passwords via this method from the httpd-dav.conf file:

# AuthName DAV-upload

# You can use the htdigest program to create the password database:
# \xampp\apache\bin\htdigest -c "\xampp\security\htpasswd.webdav" "XAMPP with WebDAV" user
# AuthType Digest
# AuthDigestDomain / http://localhost/

# Here with htpasswd and md5
# \xampp\apache\bin\htpasswd -b \xampp\security\htpasswd.webdav user

Neither method is working. When I disabled:
# <LimitExcept GET HEAD OPTIONS>
# require valid-user
# </LimitExcept>

Then it works fine, but its open to everyone.

So anyone know why the login/password isn't working? Please help.

Re: Webdav account setup

PostPosted: 02. January 2009 02:38
by Sharley
Try this Forum Search as I believe WebDav does not support htdigest.exe created passwords - use htpasswd.exe instead - some help in the search results and here:

http://community.apachefriends.org/f/viewtopic.php?f=16&t=17011&p=83870

Re: Webdav account setup

PostPosted: 02. January 2009 03:06
by bebopblues
Sharley wrote:Try this Forum Search as I believe WebDav does not support htdigest.exe created passwords - use htpasswd.exe instead - some help in the search results and here:

http://community.apachefriends.org/f/viewtopic.php?f=16&t=17011&p=83870

thanks sharley. I did searched the forum before posting, but did not find the answer. I still didn't find it on the forum. But after messing around, I found out that i had to do:
Code: Select all
htpasswd -c C:/xampp/security/htpasswd.webdav user


and that works. :D