Apache 2.0.47 I've added "-D DAV" to /etc/conf.d/apache2 and when I add a <Location> with "Dav On" the error "Unknown DAV provider: filesystem" occurs. When checking server-info mod_dav is loaded but mod_dav_fs is not. If the "LoadModule dav_fs_module" line is added under the "LoadModule dav_module" both modules load without any errors and "Dav On" will not cause "/etc/init.d/apache2 start" to stop. Other users have also experianced the same problem. Reproducible: Always Steps to Reproduce: 1.emerge apache2 2.Add "-D DAV" to /etc/conf.d/apache2 3.Add <Location /dav> Dav On </Location> to commonapache2.conf 4.Run /etc/init.d/apache2 start Actual Results: Webserver startup will be halted with the error message: Unknown DAV provider: filesystem Expected Results: webserver to start with the folder /dav enabled. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage" USE="oss apm avi encode foomaticdb mad mikmod oggvorbis pdflib png quicktime sdl spell svga truetype xmms xv gdbm berkdb slang perl python qt opengl x86 tcpd pam ldap ssl crypt doc emacs gd gif gpm apache2 imap imlib java jpeg leim libg++ libwww maildir memlimit mmx motif mpeg ncurses nls postgres readline sse tcltk xml xml2 zlib mysql -X -3dfx -3dnow -alsa -arts -atlas -cups -esd -gnome - gtk -gtk2 -guile -kde -mozilla"
Adding "-D DAV_FS" to /etc/conf.d/apache2 solves this problem. So the bug may be in the comments in /etc/conf.d/apache2 rather than /etc/apache2/conf/modules.d/45_mod_dav.conf.
I've updated apache2.confd, will appear on CVS later this evening.
committed.