Hello,
Because of chroot, you have to put this (with a note on "/var/DAVLock",
it is actually for me /var/www/var/DAVLock):
LoadModule dav_module         /usr/lib/apache/modules/libdav.so
DAVLockDB /var/DAVLock

greetings
didier
 

-----Original Message-----
From: Bjvrn Ketelaars [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 28, 2005 08:38
To: [email protected]
Subject: Apache and mod_dav

I am trying to implement WebDAV into Apache (stock OpenBSD 3.7 version).
After adding mod_dav (package) to Apache and making the necessary
adjustments to httpd.conf (following http://www.webdav.org/mod_dav/faq/)
I managed to see/open the freshly made 'share' but not write to it;
error.log (Apache) mentions 'Could not open the lock database'. In an
attempt to resolve this challenge, I tried the following:

1.) Run Apache outside chroot;
2.) Chmod everything remotely connected to mod_dav to 777;
3.) Used the following settings in httpd.conf.

DAVLockDB /var/www/htdocs/DAV
DAVMinTimeout 600

<Directory/>
Options FollowSymLinks
AllowOverride None
</Directory>

<Directory "/var/www/htdocs">
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/htdocs/DAV>
DAV On
</Directory>

Unfortunately these attempts were not fruitful and error.log still
mentions 'Could not open the lock database'. Any suggestions?


--
Insanity in individuals is something rare - but in groups, parties,
nations and epochs, it is the rule.

Reply via email to