WebDAV Authentication
Hi,
I'm trying to set up WebDAV for file sharing between our 2 departments,
In Windows XP (problably everything else too) I'm getting the authentication
window where I can fill in user and password. Everytime I enter it, it
gets rejected.
Here's my config:
from httpd.conf (apache 2 with webdav enabled)
#Load DAV module
LoadModule dav_module lib/apache/mod_dav.so
#Load DAVfs
LoadModule dav_fs_module lib/apache/mod_dav_fs.so
#Misc stuff relevant to DAV
DAVLockDB /var/lock/dav/DAV_Lock
BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
LimitRequestBody 0
#Enable DAV on folder in virtualhost
<VirtualHost *>
Documentroot /home/httpd/html
Servername mydomain.be
Serveralias *.mydomain.be
<Directory /home/httpd/html/dav>
Dav On
AuthType Digest
AuthName "Protected DAV-Folder"
AuthUserFile /home/httpd/davauth
AllowOverride AuthConfig
require valid-user
</Directory>
</VirtualHost>
#ls -l /home/httpd/davauth
-rw-r--r-- 1 root root 19 Jan 23 13:16 /home/httpd/davauth
(this file was created with 'htpasswd -c /home/httpd/davauth koen' )
apache acces log:
217.136.80.37 - - [23/Jan/2004:13:25:07 +0100] "OPTIONS / HTTP/1.1" 200
24321
217.136.80.37 - - [23/Jan/2004:13:25:07 +0100] "OPTIONS / HTTP/1.1" 200
24321
217.136.80.37 - - [23/Jan/2004:13:25:12 +0100] "OPTIONS / HTTP/1.1" 200
24321
217.136.80.37 - - [23/Jan/2004:13:25:12 +0100] "PROPFIND /dav HTTP/1.1"
401 501
217.136.80.37 - "" [23/Jan/2004:13:25:13 +0100] "PROPFIND /dav HTTP/1.1"
401 501
217.136.80.37 - - [23/Jan/2004:13:25:17 +0100] "PROPFIND /dav HTTP/1.1"
401 501
217.136.80.37 - "" [23/Jan/2004:13:25:17 +0100] "PROPFIND /dav HTTP/1.1"
401 501
217.136.80.37 - - [23/Jan/2004:13:25:22 +0100] "PROPFIND /dav HTTP/1.1"
401 501
217.136.80.37 - mydomain.be\\koen [23/Jan/2004:13:25:22 +0100] "PROPFIND
/dav HTTP/1.1" 401 501
apache error log:
[Fri Jan 23 13:24:34 2004] [notice] Digest: generating secret for digest
authentication ...
[Fri Jan 23 13:24:34 2004] [notice] Digest: done
[Fri Jan 23 13:24:35 2004] [notice] Apache/2.0.48 (Unix) DAV/2 PHP/4.3.4
configured -- resuming normal operations
[Fri Jan 23 13:25:13 2004] [error] [client 217.136.80.37] user not
found: /dav
[Fri Jan 23 13:25:17 2004] [error] [client 217.136.80.37] user not
found: /dav
[Fri Jan 23 13:25:22 2004] [error] [client 217.136.80.37] user
vbzedelgem-dorp.be\koen not found: /dav
content of /home/httpd/davauth (changed):
koen:21a/fwbleh4TvsI
Any help would be greatly appreciated,
Best regards,
Koen Calliauw
Reply to: