Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7500 - mod_dav-1.0.3-r1: mod_dav.conf is wrong
Summary: mod_dav-1.0.3-r1: mod_dav.conf is wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 04:09 UTC by Dominik Westner
Modified: 2002-09-13 22:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Westner 2002-09-05 04:09:47 UTC
the mod_dav.conf is wrong.

DAVLockDB should not point to a directory, but to a path including the basename
for the lock database.

If it points to a directory you get very strange errors in the error log
(essentially a permissions denied for writing the lock db)

So instead of mod_dav.conf having this content:

# $Header: /home/cvsroot/gentoo-x86/net-www/mod_dav/files/mod_dav.conf,v 1.2
2002/05/04 23:23:01 woodchip Exp $
<IfModule mod_dav.c>

DAVLockDB /var/lock/mod_dav

</IfModule>


it should have this:

# $Header: /home/cvsroot/gentoo-x86/net-www/mod_dav/files/mod_dav.conf,v 1.2
2002/05/04 23:23:01 woodchip Exp $
<IfModule mod_dav.c>

DAVLockDB /var/lock/mod_dav/Dav_Lock

</IfModule>


This will create the following locking database:

/var/lock/mod_dav/Dav_Lock.pag
/var/lock/mod_dav/Dav_Lock.dir


Obviously it's better if virtual hosts define their own locking db if they use a
different directory for dav.
Comment 1 Chris Carlin 2002-09-12 19:03:11 UTC
I hate to post this useless message, but with Mozilla's calendar recently being
able to publish to web_dav enabled sites this bug might suddenly become more
important to many users....

Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-09-13 22:24:07 UTC
Fixed.