What this has to do with perl on Mac OS X, I'm not sure, but
I decided I want to muck around with webdav on my
Mac 10.4.6 client Apache 1.3x stock install.
I enabled the loading of the mod_dav module in
the httpd.conf and added:
DAVLockDB "/Library/WebServer/DAVlock"
<Directory "/Library/WebServer/Documents/webdav">
DAV On
AuthType basic
AuthName "WEBDAV"
AuthUserFile /etc/httpd/passwd
Require valid-user
</Directory>
The lock file has rw perms for www/www
I can authenticate and access the webdav
page and from my linux box do ls and gets
but the PUT operation always fails.
If I do a connect to server locally with
the finder "Connect to server..." any
attempt to drag a file to the webdav
window fails with a bizarre message about
file name possibly too long or invalid characters.
Any PUT operation leaves the following in
error_log
[Thu Apr 13 23:34:46 2006] [notice] Apache/1.3.33 (Darwin) DAV/1.0.3
configured -- resuming normal operations
[Thu Apr 13 23:34:46 2006] [notice] Accept mutex: flock (Default:
flock)
[Thu Apr 13 23:37:20 2006] [error] [client 192.168.1.70] The locks
could not be queried for verification against a possible "If:" header.
[500, #0]
[Thu Apr 13 23:37:20 2006] [error] [client 192.168.1.70] Could not
open the lock database. [500, #400]
[Thu Apr 13 23:37:20 2006] [error] [client 192.168.1.70]
(13)Permission denied: I/O error occurred. [500, #1]
Judging from the lack of info "out there" I am either
the first person to try this or the most unlucky...
Nobody really seems to care in our world. SMB or AppleTalk over IP does
well enough, I think
Has anyone been successful in getting the webdav
stuff to work with the stock apache?
I have a vague memory of getting it to work on my last job, but I don't
remember how. I do remember playing lots of strange games with the
parameters until I found something that clicked. Didn't end up using
it, so when I wiped the box I didn't think to record the
configurations. Sorry.